@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TypeVersionSummary extends Object implements Serializable, Cloneable
Contains summary information about a specific version of a CloudFormation type.
Constructor and Description |
---|
TypeVersionSummary() |
Modifier and Type | Method and Description |
---|---|
TypeVersionSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the type version.
|
String |
getDescription()
The description of the type version.
|
Boolean |
getIsDefaultVersion()
Whether the specified type version is set as the default version.
|
Date |
getTimeCreated()
When the version was registered.
|
String |
getType()
The kind of type.
|
String |
getTypeName()
The name of the type.
|
String |
getVersionId()
The ID of a specific version of the type.
|
int |
hashCode() |
Boolean |
isDefaultVersion()
Whether the specified type version is set as the default version.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the type version.
|
void |
setDescription(String description)
The description of the type version.
|
void |
setIsDefaultVersion(Boolean isDefaultVersion)
Whether the specified type version is set as the default version.
|
void |
setTimeCreated(Date timeCreated)
When the version was registered.
|
void |
setType(String type)
The kind of type.
|
void |
setTypeName(String typeName)
The name of the type.
|
void |
setVersionId(String versionId)
The ID of a specific version of the type.
|
String |
toString()
Returns a string representation of this object.
|
TypeVersionSummary |
withArn(String arn)
The Amazon Resource Name (ARN) of the type version.
|
TypeVersionSummary |
withDescription(String description)
The description of the type version.
|
TypeVersionSummary |
withIsDefaultVersion(Boolean isDefaultVersion)
Whether the specified type version is set as the default version.
|
TypeVersionSummary |
withTimeCreated(Date timeCreated)
When the version was registered.
|
TypeVersionSummary |
withType(RegistryType type)
The kind of type.
|
TypeVersionSummary |
withType(String type)
The kind of type.
|
TypeVersionSummary |
withTypeName(String typeName)
The name of the type.
|
TypeVersionSummary |
withVersionId(String versionId)
The ID of a specific version of the type.
|
public void setType(String type)
The kind of type.
type
- The kind of type.RegistryType
public String getType()
The kind of type.
RegistryType
public TypeVersionSummary withType(String type)
The kind of type.
type
- The kind of type.RegistryType
public TypeVersionSummary withType(RegistryType type)
The kind of type.
type
- The kind of type.RegistryType
public void setTypeName(String typeName)
The name of the type.
typeName
- The name of the type.public String getTypeName()
The name of the type.
public TypeVersionSummary withTypeName(String typeName)
The name of the type.
typeName
- The name of the type.public void setVersionId(String versionId)
The ID of a specific version of the type. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the type version when it is registered.
versionId
- The ID of a specific version of the type. The version ID is the value at the end of the Amazon Resource
Name (ARN) assigned to the type version when it is registered.public String getVersionId()
The ID of a specific version of the type. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the type version when it is registered.
public TypeVersionSummary withVersionId(String versionId)
The ID of a specific version of the type. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the type version when it is registered.
versionId
- The ID of a specific version of the type. The version ID is the value at the end of the Amazon Resource
Name (ARN) assigned to the type version when it is registered.public void setIsDefaultVersion(Boolean isDefaultVersion)
Whether the specified type version is set as the default version.
isDefaultVersion
- Whether the specified type version is set as the default version.public Boolean getIsDefaultVersion()
Whether the specified type version is set as the default version.
public TypeVersionSummary withIsDefaultVersion(Boolean isDefaultVersion)
Whether the specified type version is set as the default version.
isDefaultVersion
- Whether the specified type version is set as the default version.public Boolean isDefaultVersion()
Whether the specified type version is set as the default version.
public void setArn(String arn)
The Amazon Resource Name (ARN) of the type version.
arn
- The Amazon Resource Name (ARN) of the type version.public String getArn()
The Amazon Resource Name (ARN) of the type version.
public TypeVersionSummary withArn(String arn)
The Amazon Resource Name (ARN) of the type version.
arn
- The Amazon Resource Name (ARN) of the type version.public void setTimeCreated(Date timeCreated)
When the version was registered.
timeCreated
- When the version was registered.public Date getTimeCreated()
When the version was registered.
public TypeVersionSummary withTimeCreated(Date timeCreated)
When the version was registered.
timeCreated
- When the version was registered.public void setDescription(String description)
The description of the type version.
description
- The description of the type version.public String getDescription()
The description of the type version.
public TypeVersionSummary withDescription(String description)
The description of the type version.
description
- The description of the type version.public String toString()
toString
in class Object
Object.toString()
public TypeVersionSummary clone()