Interface AssociationSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AssociationSummary.Builder,
,AssociationSummary> SdkBuilder<AssociationSummary.Builder,
,AssociationSummary> SdkPojo
- Enclosing class:
AssociationSummary
public static interface AssociationSummary.Builder
extends SdkPojo, CopyableBuilder<AssociationSummary.Builder,AssociationSummary>
-
Method Summary
Modifier and TypeMethodDescriptionassociationType
(String associationType) The type of the association.associationType
(AssociationEdgeType associationType) The type of the association.default AssociationSummary.Builder
createdBy
(Consumer<UserContext.Builder> createdBy) Sets the value of the CreatedBy property for this object.createdBy
(UserContext createdBy) Sets the value of the CreatedBy property for this object.creationTime
(Instant creationTime) When the association was created.destinationArn
(String destinationArn) The Amazon Resource Name (ARN) of the destination.destinationName
(String destinationName) The name of the destination.destinationType
(String destinationType) The destination type.The ARN of the source.sourceName
(String sourceName) The name of the source.sourceType
(String sourceType) The source type.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
-
sourceArn
The ARN of the source.
- Parameters:
sourceArn
- The ARN of the source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationArn
The Amazon Resource Name (ARN) of the destination.
- Parameters:
destinationArn
- The Amazon Resource Name (ARN) of the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceType
The source type.
- Parameters:
sourceType
- The source type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationType
The destination type.
- Parameters:
destinationType
- The destination type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationType
The type of the association.
- Parameters:
associationType
- The type of the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
associationType
The type of the association.
- Parameters:
associationType
- The type of the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceName
The name of the source.
- Parameters:
sourceName
- The name of the source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationName
The name of the destination.
- Parameters:
destinationName
- The name of the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
When the association was created.
- Parameters:
creationTime
- When the association was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
Sets the value of the CreatedBy property for this object.- Parameters:
createdBy
- The new value for the CreatedBy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
Sets the value of the CreatedBy property for this object. This is a convenience method that creates an instance of theUserContext.Builder
avoiding the need to create one manually viaUserContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocreatedBy(UserContext)
.- Parameters:
createdBy
- a consumer that will call methods onUserContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-