public final class FeatureResultInner extends Object
| Constructor and Description |
|---|
FeatureResultInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
id()
Get the id property: The resource ID of the feature.
|
String |
name()
Get the name property: The name of the feature.
|
FeatureProperties |
properties()
Get the properties property: Properties of the previewed feature.
|
String |
type()
Get the type property: The resource type of the feature.
|
void |
validate()
Validates the instance.
|
FeatureResultInner |
withId(String id)
Set the id property: The resource ID of the feature.
|
FeatureResultInner |
withName(String name)
Set the name property: The name of the feature.
|
FeatureResultInner |
withProperties(FeatureProperties properties)
Set the properties property: Properties of the previewed feature.
|
FeatureResultInner |
withType(String type)
Set the type property: The resource type of the feature.
|
public String name()
public FeatureResultInner withName(String name)
name - the name value to set.public FeatureProperties properties()
public FeatureResultInner withProperties(FeatureProperties properties)
properties - the properties value to set.public String id()
public FeatureResultInner withId(String id)
id - the id value to set.public String type()
public FeatureResultInner withType(String type)
type - the type value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.