Class FeatureResultInner
- java.lang.Object
-
- com.azure.resourcemanager.resources.fluent.models.FeatureResultInner
-
public final class FeatureResultInner extends Object
Previewed feature information.
-
-
Constructor Summary
Constructors Constructor Description FeatureResultInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringid()Get the id property: The resource ID of the feature.Stringname()Get the name property: The name of the feature.FeaturePropertiesproperties()Get the properties property: Properties of the previewed feature.Stringtype()Get the type property: The resource type of the feature.voidvalidate()Validates the instance.FeatureResultInnerwithId(String id)Set the id property: The resource ID of the feature.FeatureResultInnerwithName(String name)Set the name property: The name of the feature.FeatureResultInnerwithProperties(FeatureProperties properties)Set the properties property: Properties of the previewed feature.FeatureResultInnerwithType(String type)Set the type property: The resource type of the feature.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the feature.- Returns:
- the name value.
-
withName
public FeatureResultInner withName(String name)
Set the name property: The name of the feature.- Parameters:
name- the name value to set.- Returns:
- the FeatureResultInner object itself.
-
properties
public FeatureProperties properties()
Get the properties property: Properties of the previewed feature.- Returns:
- the properties value.
-
withProperties
public FeatureResultInner withProperties(FeatureProperties properties)
Set the properties property: Properties of the previewed feature.- Parameters:
properties- the properties value to set.- Returns:
- the FeatureResultInner object itself.
-
id
public String id()
Get the id property: The resource ID of the feature.- Returns:
- the id value.
-
withId
public FeatureResultInner withId(String id)
Set the id property: The resource ID of the feature.- Parameters:
id- the id value to set.- Returns:
- the FeatureResultInner object itself.
-
type
public String type()
Get the type property: The resource type of the feature.- Returns:
- the type value.
-
withType
public FeatureResultInner withType(String type)
Set the type property: The resource type of the feature.- Parameters:
type- the type value to set.- Returns:
- the FeatureResultInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-