@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceSharePermissionSummary extends Object implements Serializable, Cloneable, StructuredPojo
Information about a permission that is associated with a resource share.
| Constructor and Description |
|---|
ResourceSharePermissionSummary() |
| Modifier and Type | Method and Description |
|---|---|
ResourceSharePermissionSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the permission.
|
Date |
getCreationTime()
The date and time when the permission was created.
|
Boolean |
getDefaultVersion()
Specifies whether the version of the permission is set to the default version for this permission.
|
Boolean |
getIsResourceTypeDefault()
Specifies whether the version of the permission is set to the default version for this resource type.
|
Date |
getLastUpdatedTime()
The date and time when the permission was last updated.
|
String |
getName()
The name of the permission.
|
String |
getResourceType()
The type of resource to which the permission applies.
|
String |
getStatus()
The current status of the permission.
|
String |
getVersion()
The identifier for the version of the permission.
|
int |
hashCode() |
Boolean |
isDefaultVersion()
Specifies whether the version of the permission is set to the default version for this permission.
|
Boolean |
isResourceTypeDefault()
Specifies whether the version of the permission is set to the default version for this resource type.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the permission.
|
void |
setCreationTime(Date creationTime)
The date and time when the permission was created.
|
void |
setDefaultVersion(Boolean defaultVersion)
Specifies whether the version of the permission is set to the default version for this permission.
|
void |
setIsResourceTypeDefault(Boolean isResourceTypeDefault)
Specifies whether the version of the permission is set to the default version for this resource type.
|
void |
setLastUpdatedTime(Date lastUpdatedTime)
The date and time when the permission was last updated.
|
void |
setName(String name)
The name of the permission.
|
void |
setResourceType(String resourceType)
The type of resource to which the permission applies.
|
void |
setStatus(String status)
The current status of the permission.
|
void |
setVersion(String version)
The identifier for the version of the permission.
|
String |
toString()
Returns a string representation of this object.
|
ResourceSharePermissionSummary |
withArn(String arn)
The Amazon Resource Name (ARN) of the permission.
|
ResourceSharePermissionSummary |
withCreationTime(Date creationTime)
The date and time when the permission was created.
|
ResourceSharePermissionSummary |
withDefaultVersion(Boolean defaultVersion)
Specifies whether the version of the permission is set to the default version for this permission.
|
ResourceSharePermissionSummary |
withIsResourceTypeDefault(Boolean isResourceTypeDefault)
Specifies whether the version of the permission is set to the default version for this resource type.
|
ResourceSharePermissionSummary |
withLastUpdatedTime(Date lastUpdatedTime)
The date and time when the permission was last updated.
|
ResourceSharePermissionSummary |
withName(String name)
The name of the permission.
|
ResourceSharePermissionSummary |
withResourceType(String resourceType)
The type of resource to which the permission applies.
|
ResourceSharePermissionSummary |
withStatus(String status)
The current status of the permission.
|
ResourceSharePermissionSummary |
withVersion(String version)
The identifier for the version of the permission.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the permission.
arn - The Amazon Resource Name (ARN) of the permission.public String getArn()
The Amazon Resource Name (ARN) of the permission.
public ResourceSharePermissionSummary withArn(String arn)
The Amazon Resource Name (ARN) of the permission.
arn - The Amazon Resource Name (ARN) of the permission.public void setVersion(String version)
The identifier for the version of the permission.
version - The identifier for the version of the permission.public String getVersion()
The identifier for the version of the permission.
public ResourceSharePermissionSummary withVersion(String version)
The identifier for the version of the permission.
version - The identifier for the version of the permission.public void setDefaultVersion(Boolean defaultVersion)
Specifies whether the version of the permission is set to the default version for this permission.
defaultVersion - Specifies whether the version of the permission is set to the default version for this permission.public Boolean getDefaultVersion()
Specifies whether the version of the permission is set to the default version for this permission.
public ResourceSharePermissionSummary withDefaultVersion(Boolean defaultVersion)
Specifies whether the version of the permission is set to the default version for this permission.
defaultVersion - Specifies whether the version of the permission is set to the default version for this permission.public Boolean isDefaultVersion()
Specifies whether the version of the permission is set to the default version for this permission.
public void setName(String name)
The name of the permission.
name - The name of the permission.public String getName()
The name of the permission.
public ResourceSharePermissionSummary withName(String name)
The name of the permission.
name - The name of the permission.public void setResourceType(String resourceType)
The type of resource to which the permission applies.
resourceType - The type of resource to which the permission applies.public String getResourceType()
The type of resource to which the permission applies.
public ResourceSharePermissionSummary withResourceType(String resourceType)
The type of resource to which the permission applies.
resourceType - The type of resource to which the permission applies.public void setStatus(String status)
The current status of the permission.
status - The current status of the permission.public String getStatus()
The current status of the permission.
public ResourceSharePermissionSummary withStatus(String status)
The current status of the permission.
status - The current status of the permission.public void setCreationTime(Date creationTime)
The date and time when the permission was created.
creationTime - The date and time when the permission was created.public Date getCreationTime()
The date and time when the permission was created.
public ResourceSharePermissionSummary withCreationTime(Date creationTime)
The date and time when the permission was created.
creationTime - The date and time when the permission was created.public void setLastUpdatedTime(Date lastUpdatedTime)
The date and time when the permission was last updated.
lastUpdatedTime - The date and time when the permission was last updated.public Date getLastUpdatedTime()
The date and time when the permission was last updated.
public ResourceSharePermissionSummary withLastUpdatedTime(Date lastUpdatedTime)
The date and time when the permission was last updated.
lastUpdatedTime - The date and time when the permission was last updated.public void setIsResourceTypeDefault(Boolean isResourceTypeDefault)
Specifies whether the version of the permission is set to the default version for this resource type.
isResourceTypeDefault - Specifies whether the version of the permission is set to the default version for this resource type.public Boolean getIsResourceTypeDefault()
Specifies whether the version of the permission is set to the default version for this resource type.
public ResourceSharePermissionSummary withIsResourceTypeDefault(Boolean isResourceTypeDefault)
Specifies whether the version of the permission is set to the default version for this resource type.
isResourceTypeDefault - Specifies whether the version of the permission is set to the default version for this resource type.public Boolean isResourceTypeDefault()
Specifies whether the version of the permission is set to the default version for this resource type.
public String toString()
toString in class ObjectObject.toString()public ResourceSharePermissionSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.