@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCoreDefinitionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetCoreDefinitionResult() |
Modifier and Type | Method and Description |
---|---|
GetCoreDefinitionResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GetCoreDefinitionResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetCoreDefinitionResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the definition.
|
String |
getCreationTimestamp()
The time, in milliseconds since the epoch, when the definition was created.
|
String |
getId()
The ID of the definition.
|
String |
getLastUpdatedTimestamp()
The time, in milliseconds since the epoch, when the definition was last updated.
|
String |
getLatestVersion()
The ID of the latest version associated with the definition.
|
String |
getLatestVersionArn()
The ARN of the latest version associated with the definition.
|
String |
getName()
The name of the definition.
|
Map<String,String> |
getTags()
Tag(s) attached to the resource arn.
|
int |
hashCode() |
void |
setArn(String arn)
The ARN of the definition.
|
void |
setCreationTimestamp(String creationTimestamp)
The time, in milliseconds since the epoch, when the definition was created.
|
void |
setId(String id)
The ID of the definition.
|
void |
setLastUpdatedTimestamp(String lastUpdatedTimestamp)
The time, in milliseconds since the epoch, when the definition was last updated.
|
void |
setLatestVersion(String latestVersion)
The ID of the latest version associated with the definition.
|
void |
setLatestVersionArn(String latestVersionArn)
The ARN of the latest version associated with the definition.
|
void |
setName(String name)
The name of the definition.
|
void |
setTags(Map<String,String> tags)
Tag(s) attached to the resource arn.
|
String |
toString()
Returns a string representation of this object.
|
GetCoreDefinitionResult |
withArn(String arn)
The ARN of the definition.
|
GetCoreDefinitionResult |
withCreationTimestamp(String creationTimestamp)
The time, in milliseconds since the epoch, when the definition was created.
|
GetCoreDefinitionResult |
withId(String id)
The ID of the definition.
|
GetCoreDefinitionResult |
withLastUpdatedTimestamp(String lastUpdatedTimestamp)
The time, in milliseconds since the epoch, when the definition was last updated.
|
GetCoreDefinitionResult |
withLatestVersion(String latestVersion)
The ID of the latest version associated with the definition.
|
GetCoreDefinitionResult |
withLatestVersionArn(String latestVersionArn)
The ARN of the latest version associated with the definition.
|
GetCoreDefinitionResult |
withName(String name)
The name of the definition.
|
GetCoreDefinitionResult |
withTags(Map<String,String> tags)
Tag(s) attached to the resource arn.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
arn
- The ARN of the definition.public String getArn()
public GetCoreDefinitionResult withArn(String arn)
arn
- The ARN of the definition.public void setCreationTimestamp(String creationTimestamp)
creationTimestamp
- The time, in milliseconds since the epoch, when the definition was created.public String getCreationTimestamp()
public GetCoreDefinitionResult withCreationTimestamp(String creationTimestamp)
creationTimestamp
- The time, in milliseconds since the epoch, when the definition was created.public void setId(String id)
id
- The ID of the definition.public String getId()
public GetCoreDefinitionResult withId(String id)
id
- The ID of the definition.public void setLastUpdatedTimestamp(String lastUpdatedTimestamp)
lastUpdatedTimestamp
- The time, in milliseconds since the epoch, when the definition was last updated.public String getLastUpdatedTimestamp()
public GetCoreDefinitionResult withLastUpdatedTimestamp(String lastUpdatedTimestamp)
lastUpdatedTimestamp
- The time, in milliseconds since the epoch, when the definition was last updated.public void setLatestVersion(String latestVersion)
latestVersion
- The ID of the latest version associated with the definition.public String getLatestVersion()
public GetCoreDefinitionResult withLatestVersion(String latestVersion)
latestVersion
- The ID of the latest version associated with the definition.public void setLatestVersionArn(String latestVersionArn)
latestVersionArn
- The ARN of the latest version associated with the definition.public String getLatestVersionArn()
public GetCoreDefinitionResult withLatestVersionArn(String latestVersionArn)
latestVersionArn
- The ARN of the latest version associated with the definition.public void setName(String name)
name
- The name of the definition.public String getName()
public GetCoreDefinitionResult withName(String name)
name
- The name of the definition.public Map<String,String> getTags()
public void setTags(Map<String,String> tags)
tags
- Tag(s) attached to the resource arn.public GetCoreDefinitionResult withTags(Map<String,String> tags)
tags
- Tag(s) attached to the resource arn.public GetCoreDefinitionResult addTagsEntry(String key, String value)
public GetCoreDefinitionResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public GetCoreDefinitionResult clone()