Class CreateCloudFormationTemplateResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.serverlessapplicationrepository.model.ServerlessApplicationRepositoryResponse
-
- software.amazon.awssdk.services.serverlessapplicationrepository.model.CreateCloudFormationTemplateResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateCloudFormationTemplateResponse.Builder,CreateCloudFormationTemplateResponse>
@Generated("software.amazon.awssdk:codegen") public final class CreateCloudFormationTemplateResponse extends ServerlessApplicationRepositoryResponse implements ToCopyableBuilder<CreateCloudFormationTemplateResponse.Builder,CreateCloudFormationTemplateResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateCloudFormationTemplateResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapplicationId()The application Amazon Resource Name (ARN).static CreateCloudFormationTemplateResponse.Builderbuilder()StringcreationTime()The date and time this resource was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringexpirationTime()The date and time this template expires.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()StringsemanticVersion()The semantic version of the application:static Class<? extends CreateCloudFormationTemplateResponse.Builder>serializableBuilderClass()Statusstatus()Status of the template creation workflow.StringstatusAsString()Status of the template creation workflow.StringtemplateId()The UUID returned by CreateCloudFormationTemplate.StringtemplateUrl()A link to the template that can be used to deploy the application using AWS CloudFormation.CreateCloudFormationTemplateResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.serverlessapplicationrepository.model.ServerlessApplicationRepositoryResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
applicationId
public final String applicationId()
The application Amazon Resource Name (ARN).
- Returns:
- The application Amazon Resource Name (ARN).
-
creationTime
public final String creationTime()
The date and time this resource was created.
- Returns:
- The date and time this resource was created.
-
expirationTime
public final String expirationTime()
The date and time this template expires. Templates expire 1 hour after creation.
- Returns:
- The date and time this template expires. Templates expire 1 hour after creation.
-
semanticVersion
public final String semanticVersion()
The semantic version of the application:
- Returns:
- The semantic version of the application:
-
status
public final Status status()
Status of the template creation workflow.
Possible values: PREPARING | ACTIVE | EXPIRED
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Status of the template creation workflow.
Possible values: PREPARING | ACTIVE | EXPIRED
- See Also:
Status
-
statusAsString
public final String statusAsString()
Status of the template creation workflow.
Possible values: PREPARING | ACTIVE | EXPIRED
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Status of the template creation workflow.
Possible values: PREPARING | ACTIVE | EXPIRED
- See Also:
Status
-
templateId
public final String templateId()
The UUID returned by CreateCloudFormationTemplate.
Pattern: [0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}
- Returns:
- The UUID returned by CreateCloudFormationTemplate.
Pattern: [0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}
-
templateUrl
public final String templateUrl()
A link to the template that can be used to deploy the application using AWS CloudFormation.
- Returns:
- A link to the template that can be used to deploy the application using AWS CloudFormation.
-
toBuilder
public CreateCloudFormationTemplateResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateCloudFormationTemplateResponse.Builder,CreateCloudFormationTemplateResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static CreateCloudFormationTemplateResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateCloudFormationTemplateResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-