@Generated(value="software.amazon.awssdk:codegen") public final class CreateCloudFormationTemplateResponse extends ServerlessApplicationRepositoryResponse implements ToCopyableBuilder<CreateCloudFormationTemplateResponse.Builder,CreateCloudFormationTemplateResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateCloudFormationTemplateResponse.Builder |
Modifier and Type | Method and Description |
---|---|
String |
applicationId()
The application Amazon Resource Name (ARN).
|
static CreateCloudFormationTemplateResponse.Builder |
builder() |
String |
creationTime()
The date and time this resource was created.
|
boolean |
equals(Object obj) |
String |
expirationTime()
The date and time this template expires.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
String |
semanticVersion()
The semantic version of the application:
|
static Class<? extends CreateCloudFormationTemplateResponse.Builder> |
serializableBuilderClass() |
Status |
status()
Status of the template creation workflow.
|
String |
statusAsString()
Status of the template creation workflow.
|
String |
templateId()
The UUID returned by CreateCloudFormationTemplate.
|
String |
templateUrl()
A link to the template that can be used to deploy the application using AWS CloudFormation.
|
CreateCloudFormationTemplateResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
responseMetadata
sdkHttpResponse
copy
public String applicationId()
The application Amazon Resource Name (ARN).
public String creationTime()
The date and time this resource was created.
public String expirationTime()
The date and time this template expires. Templates expire 1 hour after creation.
public String semanticVersion()
The semantic version of the application:
public 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, status
will
return Status.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
Possible values: PREPARING | ACTIVE | EXPIRED
Status
public 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, status
will
return Status.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
Possible values: PREPARING | ACTIVE | EXPIRED
Status
public 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}
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}
public String templateUrl()
A link to the template that can be used to deploy the application using AWS CloudFormation.
public CreateCloudFormationTemplateResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateCloudFormationTemplateResponse.Builder,CreateCloudFormationTemplateResponse>
toBuilder
in class AwsResponse
public static CreateCloudFormationTemplateResponse.Builder builder()
public static Class<? extends CreateCloudFormationTemplateResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.