@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSubscriptionDefinitionVersionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateSubscriptionDefinitionVersionResult() |
Modifier and Type | Method and Description |
---|---|
CreateSubscriptionDefinitionVersionResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the version.
|
String |
getCreationTimestamp()
The time, in milliseconds since the epoch, when the version was created.
|
String |
getId()
The ID of the parent definition that the version is associated with.
|
String |
getVersion()
The ID of the version.
|
int |
hashCode() |
void |
setArn(String arn)
The ARN of the version.
|
void |
setCreationTimestamp(String creationTimestamp)
The time, in milliseconds since the epoch, when the version was created.
|
void |
setId(String id)
The ID of the parent definition that the version is associated with.
|
void |
setVersion(String version)
The ID of the version.
|
String |
toString()
Returns a string representation of this object.
|
CreateSubscriptionDefinitionVersionResult |
withArn(String arn)
The ARN of the version.
|
CreateSubscriptionDefinitionVersionResult |
withCreationTimestamp(String creationTimestamp)
The time, in milliseconds since the epoch, when the version was created.
|
CreateSubscriptionDefinitionVersionResult |
withId(String id)
The ID of the parent definition that the version is associated with.
|
CreateSubscriptionDefinitionVersionResult |
withVersion(String version)
The ID of the version.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public CreateSubscriptionDefinitionVersionResult()
public void setArn(String arn)
arn
- The ARN of the version.public String getArn()
public CreateSubscriptionDefinitionVersionResult withArn(String arn)
arn
- The ARN of the version.public void setCreationTimestamp(String creationTimestamp)
creationTimestamp
- The time, in milliseconds since the epoch, when the version was created.public String getCreationTimestamp()
public CreateSubscriptionDefinitionVersionResult withCreationTimestamp(String creationTimestamp)
creationTimestamp
- The time, in milliseconds since the epoch, when the version was created.public void setId(String id)
id
- The ID of the parent definition that the version is associated with.public String getId()
public CreateSubscriptionDefinitionVersionResult withId(String id)
id
- The ID of the parent definition that the version is associated with.public void setVersion(String version)
version
- The ID of the version.public String getVersion()
public CreateSubscriptionDefinitionVersionResult withVersion(String version)
version
- The ID of the version.public String toString()
toString
in class Object
Object.toString()
public CreateSubscriptionDefinitionVersionResult clone()