Class SourceApiAssociation
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<SourceApiAssociation.Builder,
SourceApiAssociation>
Describes the configuration of a source API. A source API is a GraphQL API that is linked to a merged API. There can be multiple source APIs attached to each merged API. When linked to a merged API, the source API's schema, data sources, and resolvers will be combined with other linked source API data to form a new, singular API.
Source APIs can originate from your account or from other accounts via Amazon Web Services Resource Access Manager. For more information about sharing resources from other accounts, see What is Amazon Web Services Resource Access Manager? in the Amazon Web Services Resource Access Manager guide.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
The Amazon Resource Name (ARN) of the source API association.final String
The ID generated by the AppSync service for the source API association.static SourceApiAssociation.Builder
builder()
final String
The description field.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final Instant
The datetime value of the last successful merge of the source API association.final String
The Amazon Resource Name (ARN) of the AppSync Merged API.final String
The ID of the AppSync Merged API.static Class
<? extends SourceApiAssociation.Builder> final String
The Amazon Resource Name (ARN) of the AppSync source API.TheSourceApiAssociationConfig
object data.The state of the source API association.final String
The state of the source API association.final String
The detailed message related to the current state of the source API association.final String
The ID of the AppSync source API.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
associationId
The ID generated by the AppSync service for the source API association.
- Returns:
- The ID generated by the AppSync service for the source API association.
-
associationArn
The Amazon Resource Name (ARN) of the source API association.
- Returns:
- The Amazon Resource Name (ARN) of the source API association.
-
sourceApiId
The ID of the AppSync source API.
- Returns:
- The ID of the AppSync source API.
-
sourceApiArn
The Amazon Resource Name (ARN) of the AppSync source API.
- Returns:
- The Amazon Resource Name (ARN) of the AppSync source API.
-
mergedApiArn
The Amazon Resource Name (ARN) of the AppSync Merged API.
- Returns:
- The Amazon Resource Name (ARN) of the AppSync Merged API.
-
mergedApiId
The ID of the AppSync Merged API.
- Returns:
- The ID of the AppSync Merged API.
-
description
The description field.
- Returns:
- The description field.
-
sourceApiAssociationConfig
The
SourceApiAssociationConfig
object data.- Returns:
- The
SourceApiAssociationConfig
object data.
-
sourceApiAssociationStatus
The state of the source API association.
If the service returns an enum value that is not available in the current SDK version,
sourceApiAssociationStatus
will returnSourceApiAssociationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsourceApiAssociationStatusAsString()
.- Returns:
- The state of the source API association.
- See Also:
-
sourceApiAssociationStatusAsString
The state of the source API association.
If the service returns an enum value that is not available in the current SDK version,
sourceApiAssociationStatus
will returnSourceApiAssociationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsourceApiAssociationStatusAsString()
.- Returns:
- The state of the source API association.
- See Also:
-
sourceApiAssociationStatusDetail
The detailed message related to the current state of the source API association.
- Returns:
- The detailed message related to the current state of the source API association.
-
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:
- 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.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<SourceApiAssociation.Builder,
SourceApiAssociation> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-