Interface SourceApiAssociation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SourceApiAssociation.Builder,SourceApiAssociation>,SdkBuilder<SourceApiAssociation.Builder,SourceApiAssociation>,SdkPojo
- Enclosing class:
- SourceApiAssociation
public static interface SourceApiAssociation.Builder extends SdkPojo, CopyableBuilder<SourceApiAssociation.Builder,SourceApiAssociation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SourceApiAssociation.BuilderassociationArn(String associationArn)The Amazon Resource Name (ARN) of the source API association.SourceApiAssociation.BuilderassociationId(String associationId)The ID generated by the AppSync service for the source API association.SourceApiAssociation.Builderdescription(String description)The description field.SourceApiAssociation.BuilderlastSuccessfulMergeDate(Instant lastSuccessfulMergeDate)The datetime value of the last successful merge of the source API association.SourceApiAssociation.BuildermergedApiArn(String mergedApiArn)The Amazon Resource Name (ARN) of the AppSync Merged API.SourceApiAssociation.BuildermergedApiId(String mergedApiId)The ID of the AppSync Merged API.SourceApiAssociation.BuildersourceApiArn(String sourceApiArn)The Amazon Resource Name (ARN) of the AppSync source API.default SourceApiAssociation.BuildersourceApiAssociationConfig(Consumer<SourceApiAssociationConfig.Builder> sourceApiAssociationConfig)TheSourceApiAssociationConfigobject data.SourceApiAssociation.BuildersourceApiAssociationConfig(SourceApiAssociationConfig sourceApiAssociationConfig)TheSourceApiAssociationConfigobject data.SourceApiAssociation.BuildersourceApiAssociationStatus(String sourceApiAssociationStatus)The state of the source API association.SourceApiAssociation.BuildersourceApiAssociationStatus(SourceApiAssociationStatus sourceApiAssociationStatus)The state of the source API association.SourceApiAssociation.BuildersourceApiAssociationStatusDetail(String sourceApiAssociationStatusDetail)The detailed message related to the current state of the source API association.SourceApiAssociation.BuildersourceApiId(String sourceApiId)The ID of the AppSync source API.-
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
-
associationId
SourceApiAssociation.Builder associationId(String associationId)
The ID generated by the AppSync service for the source API association.
- Parameters:
associationId- The ID generated by the AppSync service for the source API association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationArn
SourceApiAssociation.Builder associationArn(String associationArn)
The Amazon Resource Name (ARN) of the source API association.
- Parameters:
associationArn- The Amazon Resource Name (ARN) of the source API association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceApiId
SourceApiAssociation.Builder sourceApiId(String sourceApiId)
The ID of the AppSync source API.
- Parameters:
sourceApiId- The ID of the AppSync source API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceApiArn
SourceApiAssociation.Builder sourceApiArn(String sourceApiArn)
The Amazon Resource Name (ARN) of the AppSync source API.
- Parameters:
sourceApiArn- The Amazon Resource Name (ARN) of the AppSync source API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mergedApiArn
SourceApiAssociation.Builder mergedApiArn(String mergedApiArn)
The Amazon Resource Name (ARN) of the AppSync Merged API.
- Parameters:
mergedApiArn- The Amazon Resource Name (ARN) of the AppSync Merged API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mergedApiId
SourceApiAssociation.Builder mergedApiId(String mergedApiId)
The ID of the AppSync Merged API.
- Parameters:
mergedApiId- The ID of the AppSync Merged API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
SourceApiAssociation.Builder description(String description)
The description field.
- Parameters:
description- The description field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceApiAssociationConfig
SourceApiAssociation.Builder sourceApiAssociationConfig(SourceApiAssociationConfig sourceApiAssociationConfig)
The
SourceApiAssociationConfigobject data.- Parameters:
sourceApiAssociationConfig- TheSourceApiAssociationConfigobject data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceApiAssociationConfig
default SourceApiAssociation.Builder sourceApiAssociationConfig(Consumer<SourceApiAssociationConfig.Builder> sourceApiAssociationConfig)
The
This is a convenience method that creates an instance of theSourceApiAssociationConfigobject data.SourceApiAssociationConfig.Builderavoiding the need to create one manually viaSourceApiAssociationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceApiAssociationConfig(SourceApiAssociationConfig).- Parameters:
sourceApiAssociationConfig- a consumer that will call methods onSourceApiAssociationConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sourceApiAssociationConfig(SourceApiAssociationConfig)
-
sourceApiAssociationStatus
SourceApiAssociation.Builder sourceApiAssociationStatus(String sourceApiAssociationStatus)
The state of the source API association.
- Parameters:
sourceApiAssociationStatus- The state of the source API association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SourceApiAssociationStatus,SourceApiAssociationStatus
-
sourceApiAssociationStatus
SourceApiAssociation.Builder sourceApiAssociationStatus(SourceApiAssociationStatus sourceApiAssociationStatus)
The state of the source API association.
- Parameters:
sourceApiAssociationStatus- The state of the source API association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SourceApiAssociationStatus,SourceApiAssociationStatus
-
sourceApiAssociationStatusDetail
SourceApiAssociation.Builder sourceApiAssociationStatusDetail(String sourceApiAssociationStatusDetail)
The detailed message related to the current state of the source API association.
- Parameters:
sourceApiAssociationStatusDetail- The detailed message related to the current state of the source API association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastSuccessfulMergeDate
SourceApiAssociation.Builder lastSuccessfulMergeDate(Instant lastSuccessfulMergeDate)
The datetime value of the last successful merge of the source API association. The result will be in UTC format and your local time zone.
- Parameters:
lastSuccessfulMergeDate- The datetime value of the last successful merge of the source API association. The result will be in UTC format and your local time zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-