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
-
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
-
directoryArn
UpdateObjectAttributesRequest.Builder directoryArn(String directoryArn)
-
objectReference
UpdateObjectAttributesRequest.Builder objectReference(ObjectReference 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:
objectReference(ObjectReference)
-
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
UpdateObjectAttributesRequest.Builder attributeUpdates(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
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 to#attributeUpdates(List.) - 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:
#attributeUpdates(java.util.Collection)
-
overrideConfiguration
UpdateObjectAttributesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateObjectAttributesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-