Interface UpdateFacetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudDirectoryRequest.Builder,CopyableBuilder<UpdateFacetRequest.Builder,,UpdateFacetRequest> SdkBuilder<UpdateFacetRequest.Builder,,UpdateFacetRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateFacetRequest
-
Method Summary
Modifier and TypeMethodDescriptionattributeUpdates(Collection<FacetAttributeUpdate> attributeUpdates) List of attributes that need to be updated in a given schema Facet.attributeUpdates(Consumer<FacetAttributeUpdate.Builder>... attributeUpdates) List of attributes that need to be updated in a given schema Facet.attributeUpdates(FacetAttributeUpdate... attributeUpdates) List of attributes that need to be updated in a given schema Facet.The name of the facet.objectType(String objectType) The object type that is associated with the facet.objectType(ObjectType objectType) The object type that is associated with the facet.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) that is associated with the Facet.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.clouddirectory.model.CloudDirectoryRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
schemaArn
-
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
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
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 toattributeUpdates(List<FacetAttributeUpdate>).- 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:
-
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
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:
-
overrideConfiguration
UpdateFacetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateFacetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-