Interface UpdateLinkAttributesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudDirectoryRequest.Builder,CopyableBuilder<UpdateLinkAttributesRequest.Builder,,UpdateLinkAttributesRequest> SdkBuilder<UpdateLinkAttributesRequest.Builder,,UpdateLinkAttributesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateLinkAttributesRequest
@Mutable
@NotThreadSafe
public static interface UpdateLinkAttributesRequest.Builder
extends CloudDirectoryRequest.Builder, SdkPojo, CopyableBuilder<UpdateLinkAttributesRequest.Builder,UpdateLinkAttributesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionattributeUpdates(Collection<LinkAttributeUpdate> attributeUpdates) The attributes update structure.attributeUpdates(Consumer<LinkAttributeUpdate.Builder>... attributeUpdates) The attributes update structure.attributeUpdates(LinkAttributeUpdate... attributeUpdates) The attributes update structure.directoryArn(String directoryArn) The Amazon Resource Name (ARN) that is associated with the Directory where the updated typed link resides.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.typedLinkSpecifier(Consumer<TypedLinkSpecifier.Builder> typedLinkSpecifier) Allows a typed link specifier to be accepted as input.typedLinkSpecifier(TypedLinkSpecifier typedLinkSpecifier) Allows a typed link specifier to be accepted as input.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, sdkFieldNameToField, sdkFields
-
Method Details
-
directoryArn
The Amazon Resource Name (ARN) that is associated with the Directory where the updated typed link resides. For more information, see arns or Typed Links.
- Parameters:
directoryArn- The Amazon Resource Name (ARN) that is associated with the Directory where the updated typed link resides. For more information, see arns or Typed Links.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typedLinkSpecifier
Allows a typed link specifier to be accepted as input.
- Parameters:
typedLinkSpecifier- Allows a typed link specifier to be accepted as input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typedLinkSpecifier
default UpdateLinkAttributesRequest.Builder typedLinkSpecifier(Consumer<TypedLinkSpecifier.Builder> typedLinkSpecifier) Allows a typed link specifier to be accepted as input.
This is a convenience method that creates an instance of theTypedLinkSpecifier.Builderavoiding the need to create one manually viaTypedLinkSpecifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totypedLinkSpecifier(TypedLinkSpecifier).- Parameters:
typedLinkSpecifier- a consumer that will call methods onTypedLinkSpecifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributeUpdates
UpdateLinkAttributesRequest.Builder attributeUpdates(Collection<LinkAttributeUpdate> 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
UpdateLinkAttributesRequest.Builder attributeUpdates(Consumer<LinkAttributeUpdate.Builder>... attributeUpdates) The attributes update structure.
This is a convenience method that creates an instance of theLinkAttributeUpdate.Builderavoiding the need to create one manually viaLinkAttributeUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributeUpdates(List<LinkAttributeUpdate>).- Parameters:
attributeUpdates- a consumer that will call methods onLinkAttributeUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateLinkAttributesRequest.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
UpdateLinkAttributesRequest.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.
-