Class ApiGatewayApiAsset
- java.lang.Object
-
- software.amazon.awssdk.services.dataexchange.model.ApiGatewayApiAsset
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ApiGatewayApiAsset.Builder,ApiGatewayApiAsset>
@Generated("software.amazon.awssdk:codegen") public final class ApiGatewayApiAsset extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ApiGatewayApiAsset.Builder,ApiGatewayApiAsset>
The API Gateway API that is the asset.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceApiGatewayApiAsset.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapiDescription()The API description of the API asset.StringapiEndpoint()The API endpoint of the API asset.StringapiId()The unique identifier of the API asset.StringapiKey()The API key of the API asset.StringapiName()The API name of the API asset.StringapiSpecificationDownloadUrl()The download URL of the API specification of the API asset.InstantapiSpecificationDownloadUrlExpiresAt()The date and time that the upload URL expires, in ISO 8601 format.static ApiGatewayApiAsset.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ProtocolTypeprotocolType()The protocol type of the API asset.StringprotocolTypeAsString()The protocol type of the API asset.List<SdkField<?>>sdkFields()static Class<? extends ApiGatewayApiAsset.Builder>serializableBuilderClass()Stringstage()The stage of the API asset.ApiGatewayApiAsset.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
apiDescription
public final String apiDescription()
The API description of the API asset.
- Returns:
- The API description of the API asset.
-
apiEndpoint
public final String apiEndpoint()
The API endpoint of the API asset.
- Returns:
- The API endpoint of the API asset.
-
apiId
public final String apiId()
The unique identifier of the API asset.
- Returns:
- The unique identifier of the API asset.
-
apiKey
public final String apiKey()
The API key of the API asset.
- Returns:
- The API key of the API asset.
-
apiName
public final String apiName()
The API name of the API asset.
- Returns:
- The API name of the API asset.
-
apiSpecificationDownloadUrl
public final String apiSpecificationDownloadUrl()
The download URL of the API specification of the API asset.
- Returns:
- The download URL of the API specification of the API asset.
-
apiSpecificationDownloadUrlExpiresAt
public final Instant apiSpecificationDownloadUrlExpiresAt()
The date and time that the upload URL expires, in ISO 8601 format.
- Returns:
- The date and time that the upload URL expires, in ISO 8601 format.
-
protocolType
public final ProtocolType protocolType()
The protocol type of the API asset.
If the service returns an enum value that is not available in the current SDK version,
protocolTypewill returnProtocolType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprotocolTypeAsString().- Returns:
- The protocol type of the API asset.
- See Also:
ProtocolType
-
protocolTypeAsString
public final String protocolTypeAsString()
The protocol type of the API asset.
If the service returns an enum value that is not available in the current SDK version,
protocolTypewill returnProtocolType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprotocolTypeAsString().- Returns:
- The protocol type of the API asset.
- See Also:
ProtocolType
-
stage
public final String stage()
The stage of the API asset.
- Returns:
- The stage of the API asset.
-
toBuilder
public ApiGatewayApiAsset.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ApiGatewayApiAsset.Builder,ApiGatewayApiAsset>
-
builder
public static ApiGatewayApiAsset.Builder builder()
-
serializableBuilderClass
public static Class<? extends ApiGatewayApiAsset.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
-