@Generated(value="software.amazon.awssdk:codegen") public final class SourceApiAssociation extends Object implements SdkPojo, Serializable, 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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SourceApiAssociation.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
associationArn()
The Amazon Resource Name (ARN) of the source API association.
|
String |
associationId()
The ID generated by the AppSync service for the source API association.
|
static SourceApiAssociation.Builder |
builder() |
String |
description()
The description field.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastSuccessfulMergeDate()
The datetime value of the last successful merge of the source API association.
|
String |
mergedApiArn()
The Amazon Resource Name (ARN) of the AppSync Merged API.
|
String |
mergedApiId()
The ID of the AppSync Merged API.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SourceApiAssociation.Builder> |
serializableBuilderClass() |
String |
sourceApiArn()
The Amazon Resource Name (ARN) of the AppSync source API.
|
SourceApiAssociationConfig |
sourceApiAssociationConfig()
The
SourceApiAssociationConfig object data. |
SourceApiAssociationStatus |
sourceApiAssociationStatus()
The state of the source API association.
|
String |
sourceApiAssociationStatusAsString()
The state of the source API association.
|
String |
sourceApiAssociationStatusDetail()
The detailed message related to the current state of the source API association.
|
String |
sourceApiId()
The ID of the AppSync source API.
|
SourceApiAssociation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String associationId()
The ID generated by the AppSync service for the source API association.
public final String associationArn()
The Amazon Resource Name (ARN) of the source API association.
public final String sourceApiId()
The ID of the AppSync source API.
public final String sourceApiArn()
The Amazon Resource Name (ARN) of the AppSync source API.
public final String mergedApiArn()
The Amazon Resource Name (ARN) of the AppSync Merged API.
public final String mergedApiId()
The ID of the AppSync Merged API.
public final String description()
The description field.
public final SourceApiAssociationConfig sourceApiAssociationConfig()
The SourceApiAssociationConfig object data.
SourceApiAssociationConfig object data.public final SourceApiAssociationStatus 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 return SourceApiAssociationStatus.UNKNOWN_TO_SDK_VERSION. The
raw value returned by the service is available from sourceApiAssociationStatusAsString().
SourceApiAssociationStatuspublic final String 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 return SourceApiAssociationStatus.UNKNOWN_TO_SDK_VERSION. The
raw value returned by the service is available from sourceApiAssociationStatusAsString().
SourceApiAssociationStatuspublic final String sourceApiAssociationStatusDetail()
The detailed message related to the current state of the source API association.
public final 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.
public SourceApiAssociation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SourceApiAssociation.Builder,SourceApiAssociation>public static SourceApiAssociation.Builder builder()
public static Class<? extends SourceApiAssociation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.