Interface LinkAttributeUpdate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LinkAttributeUpdate.Builder,
,LinkAttributeUpdate> SdkBuilder<LinkAttributeUpdate.Builder,
,LinkAttributeUpdate> SdkPojo
- Enclosing class:
LinkAttributeUpdate
public static interface LinkAttributeUpdate.Builder
extends SdkPojo, CopyableBuilder<LinkAttributeUpdate.Builder,LinkAttributeUpdate>
-
Method Summary
Modifier and TypeMethodDescriptiondefault LinkAttributeUpdate.Builder
attributeAction
(Consumer<LinkAttributeAction.Builder> attributeAction) The action to perform as part of the attribute update.attributeAction
(LinkAttributeAction attributeAction) The action to perform as part of the attribute update.default LinkAttributeUpdate.Builder
attributeKey
(Consumer<AttributeKey.Builder> attributeKey) The key of the attribute being updated.attributeKey
(AttributeKey attributeKey) The key of the attribute being updated.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
-
attributeKey
The key of the attribute being updated.
- Parameters:
attributeKey
- The key of the attribute being updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeKey
The key of the attribute being updated.
This is a convenience method that creates an instance of theAttributeKey.Builder
avoiding the need to create one manually viaAttributeKey.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributeKey(AttributeKey)
.- Parameters:
attributeKey
- a consumer that will call methods onAttributeKey.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributeAction
The action to perform as part of the attribute update.
- Parameters:
attributeAction
- The action to perform as part of the attribute update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeAction
default LinkAttributeUpdate.Builder attributeAction(Consumer<LinkAttributeAction.Builder> attributeAction) The action to perform as part of the attribute update.
This is a convenience method that creates an instance of theLinkAttributeAction.Builder
avoiding the need to create one manually viaLinkAttributeAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributeAction(LinkAttributeAction)
.- Parameters:
attributeAction
- a consumer that will call methods onLinkAttributeAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-