Interface SourceApiAssociation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SourceApiAssociation.Builder,
,SourceApiAssociation> SdkBuilder<SourceApiAssociation.Builder,
,SourceApiAssociation> SdkPojo
- Enclosing class:
SourceApiAssociation
-
Method Summary
Modifier and TypeMethodDescriptionassociationArn
(String associationArn) The Amazon Resource Name (ARN) of the source API association.associationId
(String associationId) The ID generated by the AppSync service for the source API association.description
(String description) The description field.lastSuccessfulMergeDate
(Instant lastSuccessfulMergeDate) The datetime value of the last successful merge of the source API association.mergedApiArn
(String mergedApiArn) The Amazon Resource Name (ARN) of the AppSync Merged API.mergedApiId
(String mergedApiId) The ID of the AppSync Merged API.sourceApiArn
(String sourceApiArn) The Amazon Resource Name (ARN) of the AppSync source API.default SourceApiAssociation.Builder
sourceApiAssociationConfig
(Consumer<SourceApiAssociationConfig.Builder> sourceApiAssociationConfig) TheSourceApiAssociationConfig
object data.sourceApiAssociationConfig
(SourceApiAssociationConfig sourceApiAssociationConfig) TheSourceApiAssociationConfig
object data.sourceApiAssociationStatus
(String sourceApiAssociationStatus) The state of the source API association.sourceApiAssociationStatus
(SourceApiAssociationStatus sourceApiAssociationStatus) The state of the source API association.sourceApiAssociationStatusDetail
(String sourceApiAssociationStatusDetail) The detailed message related to the current state of the source API association.sourceApiId
(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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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
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
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
SourceApiAssociationConfig
object data.- Parameters:
sourceApiAssociationConfig
- TheSourceApiAssociationConfig
object 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 theSourceApiAssociationConfig
object data.SourceApiAssociationConfig.Builder
avoiding the need to create one manually viaSourceApiAssociationConfig.builder()
.When the
Consumer
completes,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:
-
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
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:
-
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
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.
-