ProfileInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. frontdoor. fluent. models. ProfileInner
- com.
- com.
- com.
public final class ProfileInner
extends Resource
Defines an Network Experiment Profile and lists of Experiments.
Constructor Summary
| Constructor | Description |
|---|---|
| ProfileInner() |
Creates an instance of Profile |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| State |
enabledState()
Get the enabled |
| String |
etag()
Get the etag property: Gets a unique read-only string that changes whenever the resource is updated. |
|
static
Profile |
fromJson(JsonReader jsonReader)
Reads an instance of Profile |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Network |
resourceState()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Profile |
withEnabledState(State enabledState)
Set the enabled |
|
Profile |
withEtag(String etag)
Set the etag property: Gets a unique read-only string that changes whenever the resource is updated. |
|
Profile |
withLocation(String location) |
|
Profile |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
ProfileInner
public ProfileInner()
Creates an instance of ProfileInner class.
Method Details
enabledState
public State enabledState()
Get the enabledState property: The state of the Experiment.
Returns:
etag
public String etag()
Get the etag property: Gets a unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static ProfileInner fromJson(JsonReader jsonReader)
Reads an instance of ProfileInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ProfileInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ProfileInner.name()Returns:
resourceState
public NetworkExperimentResourceState resourceState()
Get the resourceState property: Resource status.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ProfileInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ProfileInner.type()Returns:
validate
public void validate()
Validates the instance.
withEnabledState
public ProfileInner withEnabledState(State enabledState)
Set the enabledState property: The state of the Experiment.
Parameters:
Returns:
withEtag
public ProfileInner withEtag(String etag)
Set the etag property: Gets a unique read-only string that changes whenever the resource is updated.
Parameters:
Returns:
withLocation
public ProfileInner withLocation(String location)
Overrides:
ProfileInner.withLocation(String location)Parameters:
withTags
public ProfileInner withTags(Map<String,String> tags)
Overrides:
ProfileInner.withTags(Map<String,String> tags)Parameters: