@Generated(value="software.amazon.awssdk:codegen") public class UpdateFacetRequest extends CloudDirectoryRequest implements ToCopyableBuilder<UpdateFacetRequest.Builder,UpdateFacetRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateFacetRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<FacetAttributeUpdate> |
attributeUpdates()
List of attributes that need to be updated in a given schema Facet.
|
static UpdateFacetRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest. |
int |
hashCode() |
String |
name()
The name of the facet.
|
ObjectType |
objectType()
The object type that is associated with the facet.
|
String |
objectTypeAsString()
The object type that is associated with the facet.
|
String |
schemaArn()
The Amazon Resource Name (ARN) that is associated with the Facet.
|
static Class<? extends UpdateFacetRequest.Builder> |
serializableBuilderClass() |
UpdateFacetRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfigcopypublic String schemaArn()
public String name()
The name of the facet.
public List<FacetAttributeUpdate> attributeUpdates()
List of attributes that need to be updated in a given schema Facet. Each attribute is followed by
AttributeAction, which specifies the type of update operation to perform.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
AttributeAction, which specifies the type of update operation to perform.public ObjectType objectType()
The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.
If the service returns an enum value that is not available in the current SDK version, objectType will
return ObjectType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
objectTypeAsString().
ObjectTypepublic String objectTypeAsString()
The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.
If the service returns an enum value that is not available in the current SDK version, objectType will
return ObjectType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
objectTypeAsString().
ObjectTypepublic UpdateFacetRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<UpdateFacetRequest.Builder,UpdateFacetRequest>toBuilder in class CloudDirectoryRequestpublic static UpdateFacetRequest.Builder builder()
public static Class<? extends UpdateFacetRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequestSdkRequest. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class) method will
again be available.getValueForField in class SdkRequestfieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.