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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AssociationSummary.BuilderassociationType(String associationType)The type of the association.AssociationSummary.BuilderassociationType(AssociationEdgeType associationType)The type of the association.default AssociationSummary.BuildercreatedBy(Consumer<UserContext.Builder> createdBy)Sets the value of the CreatedBy property for this object.AssociationSummary.BuildercreatedBy(UserContext createdBy)Sets the value of the CreatedBy property for this object.AssociationSummary.BuildercreationTime(Instant creationTime)When the association was created.AssociationSummary.BuilderdestinationArn(String destinationArn)The Amazon Resource Name (ARN) of the destination.AssociationSummary.BuilderdestinationName(String destinationName)The name of the destination.AssociationSummary.BuilderdestinationType(String destinationType)The destination type.AssociationSummary.BuildersourceArn(String sourceArn)The ARN of the source.AssociationSummary.BuildersourceName(String sourceName)The name of the source.AssociationSummary.BuildersourceType(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
sourceArn
AssociationSummary.Builder sourceArn(String 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
AssociationSummary.Builder destinationArn(String 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
AssociationSummary.Builder sourceType(String 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
AssociationSummary.Builder destinationType(String 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
AssociationSummary.Builder associationType(String 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:
AssociationEdgeType,AssociationEdgeType
-
associationType
AssociationSummary.Builder associationType(AssociationEdgeType 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:
AssociationEdgeType,AssociationEdgeType
-
sourceName
AssociationSummary.Builder sourceName(String 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
AssociationSummary.Builder destinationName(String 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
AssociationSummary.Builder creationTime(Instant 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
AssociationSummary.Builder createdBy(UserContext 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
default AssociationSummary.Builder createdBy(Consumer<UserContext.Builder> createdBy)
Sets the value of the CreatedBy property for this object. This is a convenience method that creates an instance of theUserContext.Builderavoiding the need to create one manually viaUserContext.builder().When the
Consumercompletes,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:
createdBy(UserContext)
-
-