@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSubscriptionDefinitionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetSubscriptionDefinitionResult() |
Modifier and Type | Method and Description |
---|---|
GetSubscriptionDefinitionResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GetSubscriptionDefinitionResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetSubscriptionDefinitionResult |
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.
|
GetSubscriptionDefinitionResult |
withArn(String arn)
The ARN of the definition.
|
GetSubscriptionDefinitionResult |
withCreationTimestamp(String creationTimestamp)
The time, in milliseconds since the epoch, when the definition was created.
|
GetSubscriptionDefinitionResult |
withId(String id)
The ID of the definition.
|
GetSubscriptionDefinitionResult |
withLastUpdatedTimestamp(String lastUpdatedTimestamp)
The time, in milliseconds since the epoch, when the definition was last updated.
|
GetSubscriptionDefinitionResult |
withLatestVersion(String latestVersion)
The ID of the latest version associated with the definition.
|
GetSubscriptionDefinitionResult |
withLatestVersionArn(String latestVersionArn)
The ARN of the latest version associated with the definition.
|
GetSubscriptionDefinitionResult |
withName(String name)
The name of the definition.
|
GetSubscriptionDefinitionResult |
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 GetSubscriptionDefinitionResult 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 GetSubscriptionDefinitionResult 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 GetSubscriptionDefinitionResult 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 GetSubscriptionDefinitionResult 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 GetSubscriptionDefinitionResult 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 GetSubscriptionDefinitionResult 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 GetSubscriptionDefinitionResult 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 GetSubscriptionDefinitionResult withTags(Map<String,String> tags)
tags
- Tag(s) attached to the resource arn.public GetSubscriptionDefinitionResult addTagsEntry(String key, String value)
public GetSubscriptionDefinitionResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public GetSubscriptionDefinitionResult clone()