Interface UpdateObjectAttributesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudDirectoryRequest.Builder,CopyableBuilder<UpdateObjectAttributesRequest.Builder,,UpdateObjectAttributesRequest> SdkBuilder<UpdateObjectAttributesRequest.Builder,,UpdateObjectAttributesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateObjectAttributesRequest
public static interface UpdateObjectAttributesRequest.Builder
extends CloudDirectoryRequest.Builder, SdkPojo, CopyableBuilder<UpdateObjectAttributesRequest.Builder,UpdateObjectAttributesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionattributeUpdates(Collection<ObjectAttributeUpdate> attributeUpdates) The attributes update structure.attributeUpdates(Consumer<ObjectAttributeUpdate.Builder>... attributeUpdates) The attributes update structure.attributeUpdates(ObjectAttributeUpdate... attributeUpdates) The attributes update structure.directoryArn(String directoryArn) The Amazon Resource Name (ARN) that is associated with the Directory where the object resides.objectReference(Consumer<ObjectReference.Builder> objectReference) The reference that identifies the object.objectReference(ObjectReference objectReference) The reference that identifies the object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
-
directoryArn
-
objectReference
The reference that identifies the object.
- Parameters:
objectReference- The reference that identifies the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectReference
default UpdateObjectAttributesRequest.Builder objectReference(Consumer<ObjectReference.Builder> objectReference) The reference that identifies the object.
This is a convenience method that creates an instance of theObjectReference.Builderavoiding the need to create one manually viaObjectReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toobjectReference(ObjectReference).- Parameters:
objectReference- a consumer that will call methods onObjectReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributeUpdates
UpdateObjectAttributesRequest.Builder attributeUpdates(Collection<ObjectAttributeUpdate> attributeUpdates) The attributes update structure.
- Parameters:
attributeUpdates- The attributes update structure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeUpdates
The attributes update structure.
- Parameters:
attributeUpdates- The attributes update structure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeUpdates
UpdateObjectAttributesRequest.Builder attributeUpdates(Consumer<ObjectAttributeUpdate.Builder>... attributeUpdates) The attributes update structure.
This is a convenience method that creates an instance of theObjectAttributeUpdate.Builderavoiding the need to create one manually viaObjectAttributeUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributeUpdates(List<ObjectAttributeUpdate>).- Parameters:
attributeUpdates- a consumer that will call methods onObjectAttributeUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateObjectAttributesRequest.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
UpdateObjectAttributesRequest.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.
-