@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutSchemaResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PutSchemaResult() |
Modifier and Type | Method and Description |
---|---|
PutSchemaResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedDate()
The date and time that the schema was originally created.
|
Date |
getLastUpdatedDate()
The date and time that the schema was last updated.
|
List<String> |
getNamespaces()
Identifies the namespaces of the entities referenced by this schema.
|
String |
getPolicyStoreId()
The unique ID of the policy store that contains the schema.
|
int |
hashCode() |
void |
setCreatedDate(Date createdDate)
The date and time that the schema was originally created.
|
void |
setLastUpdatedDate(Date lastUpdatedDate)
The date and time that the schema was last updated.
|
void |
setNamespaces(Collection<String> namespaces)
Identifies the namespaces of the entities referenced by this schema.
|
void |
setPolicyStoreId(String policyStoreId)
The unique ID of the policy store that contains the schema.
|
String |
toString()
Returns a string representation of this object.
|
PutSchemaResult |
withCreatedDate(Date createdDate)
The date and time that the schema was originally created.
|
PutSchemaResult |
withLastUpdatedDate(Date lastUpdatedDate)
The date and time that the schema was last updated.
|
PutSchemaResult |
withNamespaces(Collection<String> namespaces)
Identifies the namespaces of the entities referenced by this schema.
|
PutSchemaResult |
withNamespaces(String... namespaces)
Identifies the namespaces of the entities referenced by this schema.
|
PutSchemaResult |
withPolicyStoreId(String policyStoreId)
The unique ID of the policy store that contains the schema.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPolicyStoreId(String policyStoreId)
The unique ID of the policy store that contains the schema.
policyStoreId
- The unique ID of the policy store that contains the schema.public String getPolicyStoreId()
The unique ID of the policy store that contains the schema.
public PutSchemaResult withPolicyStoreId(String policyStoreId)
The unique ID of the policy store that contains the schema.
policyStoreId
- The unique ID of the policy store that contains the schema.public List<String> getNamespaces()
Identifies the namespaces of the entities referenced by this schema.
public void setNamespaces(Collection<String> namespaces)
Identifies the namespaces of the entities referenced by this schema.
namespaces
- Identifies the namespaces of the entities referenced by this schema.public PutSchemaResult withNamespaces(String... namespaces)
Identifies the namespaces of the entities referenced by this schema.
NOTE: This method appends the values to the existing list (if any). Use
setNamespaces(java.util.Collection)
or withNamespaces(java.util.Collection)
if you want to
override the existing values.
namespaces
- Identifies the namespaces of the entities referenced by this schema.public PutSchemaResult withNamespaces(Collection<String> namespaces)
Identifies the namespaces of the entities referenced by this schema.
namespaces
- Identifies the namespaces of the entities referenced by this schema.public void setCreatedDate(Date createdDate)
The date and time that the schema was originally created.
createdDate
- The date and time that the schema was originally created.public Date getCreatedDate()
The date and time that the schema was originally created.
public PutSchemaResult withCreatedDate(Date createdDate)
The date and time that the schema was originally created.
createdDate
- The date and time that the schema was originally created.public void setLastUpdatedDate(Date lastUpdatedDate)
The date and time that the schema was last updated.
lastUpdatedDate
- The date and time that the schema was last updated.public Date getLastUpdatedDate()
The date and time that the schema was last updated.
public PutSchemaResult withLastUpdatedDate(Date lastUpdatedDate)
The date and time that the schema was last updated.
lastUpdatedDate
- The date and time that the schema was last updated.public String toString()
toString
in class Object
Object.toString()
public PutSchemaResult clone()