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
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 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.Builder
avoiding the need to create one manually viaObjectReference.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaObjectAttributeUpdate.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-