FeatureResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. resources. fluent. models. FeatureResultInner
- com.
Implements
public final class FeatureResultInner
implements JsonSerializable<FeatureResultInner>
Previewed feature information.
Constructor Summary
Constructor | Description |
---|---|
FeatureResultInner() |
Creates an instance of Feature |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Feature |
fromJson(JsonReader jsonReader)
Reads an instance of Feature |
String |
id()
Get the id property: The resource ID of the feature. |
String |
name()
Get the name property: The name of the feature. |
Feature |
properties()
Get the properties property: Properties of the previewed feature. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The resource type of the feature. |
void |
validate()
Validates the instance. |
Feature |
withId(String id)
Set the id property: The resource ID of the feature. |
Feature |
withName(String name)
Set the name property: The name of the feature. |
Feature |
withProperties(FeatureProperties properties)
Set the properties property: Properties of the previewed feature. |
Feature |
withType(String type)
Set the type property: The resource type of the feature. |
Methods inherited from java.lang.Object
Constructor Details
FeatureResultInner
public FeatureResultInner()
Creates an instance of FeatureResultInner class.
Method Details
fromJson
public static FeatureResultInner fromJson(JsonReader jsonReader)
Reads an instance of FeatureResultInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The resource ID of the feature.
Returns:
name
public String name()
Get the name property: The name of the feature.
Returns:
properties
public FeatureProperties properties()
Get the properties property: Properties of the previewed feature.
Returns:
toJson
type
public String type()
Get the type property: The resource type of the feature.
Returns:
validate
public void validate()
Validates the instance.
withId
public FeatureResultInner withId(String id)
Set the id property: The resource ID of the feature.
Parameters:
Returns:
withName
public FeatureResultInner withName(String name)
Set the name property: The name of the feature.
Parameters:
Returns:
withProperties
public FeatureResultInner withProperties(FeatureProperties properties)
Set the properties property: Properties of the previewed feature.
Parameters:
Returns:
withType
public FeatureResultInner withType(String type)
Set the type property: The resource type of the feature.
Parameters:
Returns:
Applies to
Azure SDK for Java