Interface UpdateFacetRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudDirectoryRequest.Builder,CopyableBuilder<UpdateFacetRequest.Builder,UpdateFacetRequest>,SdkBuilder<UpdateFacetRequest.Builder,UpdateFacetRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateFacetRequest
public static interface UpdateFacetRequest.Builder extends CloudDirectoryRequest.Builder, SdkPojo, CopyableBuilder<UpdateFacetRequest.Builder,UpdateFacetRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateFacetRequest.BuilderattributeUpdates(Collection<FacetAttributeUpdate> attributeUpdates)List of attributes that need to be updated in a given schema Facet.UpdateFacetRequest.BuilderattributeUpdates(Consumer<FacetAttributeUpdate.Builder>... attributeUpdates)List of attributes that need to be updated in a given schema Facet.UpdateFacetRequest.BuilderattributeUpdates(FacetAttributeUpdate... attributeUpdates)List of attributes that need to be updated in a given schema Facet.UpdateFacetRequest.Buildername(String name)The name of the facet.UpdateFacetRequest.BuilderobjectType(String objectType)The object type that is associated with the facet.UpdateFacetRequest.BuilderobjectType(ObjectType objectType)The object type that is associated with the facet.UpdateFacetRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateFacetRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateFacetRequest.BuilderschemaArn(String schemaArn)The Amazon Resource Name (ARN) that is associated with the Facet.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.clouddirectory.model.CloudDirectoryRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
schemaArn
UpdateFacetRequest.Builder schemaArn(String schemaArn)
-
name
UpdateFacetRequest.Builder name(String name)
The name of the facet.
- Parameters:
name- The name of the facet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeUpdates
UpdateFacetRequest.Builder attributeUpdates(Collection<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.- Parameters:
attributeUpdates- List of attributes that need to be updated in a given schema Facet. Each attribute is followed byAttributeAction, which specifies the type of update operation to perform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeUpdates
UpdateFacetRequest.Builder attributeUpdates(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.- Parameters:
attributeUpdates- List of attributes that need to be updated in a given schema Facet. Each attribute is followed byAttributeAction, which specifies the type of update operation to perform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeUpdates
UpdateFacetRequest.Builder attributeUpdates(Consumer<FacetAttributeUpdate.Builder>... attributeUpdates)
List of attributes that need to be updated in a given schema Facet. Each attribute is followed by
This is a convenience method that creates an instance of theAttributeAction, which specifies the type of update operation to perform.FacetAttributeUpdate.Builderavoiding the need to create one manually viaFacetAttributeUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attributeUpdates(List.) - Parameters:
attributeUpdates- a consumer that will call methods onFacetAttributeUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#attributeUpdates(java.util.Collection)
-
objectType
UpdateFacetRequest.Builder objectType(String objectType)
The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.
- Parameters:
objectType- The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ObjectType,ObjectType
-
objectType
UpdateFacetRequest.Builder objectType(ObjectType objectType)
The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.
- Parameters:
objectType- The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ObjectType,ObjectType
-
overrideConfiguration
UpdateFacetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateFacetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-