@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSubscriptionDefinitionVersionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetSubscriptionDefinitionVersionResult() |
Modifier and Type | Method and Description |
---|---|
GetSubscriptionDefinitionVersionResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the subscription definition version.
|
String |
getCreationTimestamp()
The time, in milliseconds since the epoch, when the subscription definition version was created.
|
SubscriptionDefinitionVersion |
getDefinition()
Information about the subscription definition version.
|
String |
getId()
The ID of the subscription definition version.
|
String |
getNextToken()
The token for the next set of results, or ''null'' if there are no additional results.
|
String |
getVersion()
The version of the subscription definition version.
|
int |
hashCode() |
void |
setArn(String arn)
The ARN of the subscription definition version.
|
void |
setCreationTimestamp(String creationTimestamp)
The time, in milliseconds since the epoch, when the subscription definition version was created.
|
void |
setDefinition(SubscriptionDefinitionVersion definition)
Information about the subscription definition version.
|
void |
setId(String id)
The ID of the subscription definition version.
|
void |
setNextToken(String nextToken)
The token for the next set of results, or ''null'' if there are no additional results.
|
void |
setVersion(String version)
The version of the subscription definition version.
|
String |
toString()
Returns a string representation of this object.
|
GetSubscriptionDefinitionVersionResult |
withArn(String arn)
The ARN of the subscription definition version.
|
GetSubscriptionDefinitionVersionResult |
withCreationTimestamp(String creationTimestamp)
The time, in milliseconds since the epoch, when the subscription definition version was created.
|
GetSubscriptionDefinitionVersionResult |
withDefinition(SubscriptionDefinitionVersion definition)
Information about the subscription definition version.
|
GetSubscriptionDefinitionVersionResult |
withId(String id)
The ID of the subscription definition version.
|
GetSubscriptionDefinitionVersionResult |
withNextToken(String nextToken)
The token for the next set of results, or ''null'' if there are no additional results.
|
GetSubscriptionDefinitionVersionResult |
withVersion(String version)
The version of the subscription definition version.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public GetSubscriptionDefinitionVersionResult()
public void setArn(String arn)
arn
- The ARN of the subscription definition version.public String getArn()
public GetSubscriptionDefinitionVersionResult withArn(String arn)
arn
- The ARN of the subscription definition version.public void setCreationTimestamp(String creationTimestamp)
creationTimestamp
- The time, in milliseconds since the epoch, when the subscription definition version was created.public String getCreationTimestamp()
public GetSubscriptionDefinitionVersionResult withCreationTimestamp(String creationTimestamp)
creationTimestamp
- The time, in milliseconds since the epoch, when the subscription definition version was created.public void setDefinition(SubscriptionDefinitionVersion definition)
definition
- Information about the subscription definition version.public SubscriptionDefinitionVersion getDefinition()
public GetSubscriptionDefinitionVersionResult withDefinition(SubscriptionDefinitionVersion definition)
definition
- Information about the subscription definition version.public void setId(String id)
id
- The ID of the subscription definition version.public String getId()
public GetSubscriptionDefinitionVersionResult withId(String id)
id
- The ID of the subscription definition version.public void setNextToken(String nextToken)
nextToken
- The token for the next set of results, or ''null'' if there are no additional results.public String getNextToken()
public GetSubscriptionDefinitionVersionResult withNextToken(String nextToken)
nextToken
- The token for the next set of results, or ''null'' if there are no additional results.public void setVersion(String version)
version
- The version of the subscription definition version.public String getVersion()
public GetSubscriptionDefinitionVersionResult withVersion(String version)
version
- The version of the subscription definition version.public String toString()
toString
in class Object
Object.toString()
public GetSubscriptionDefinitionVersionResult clone()