@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceSharePermissionDetail extends Object implements Serializable, Cloneable, StructuredPojo
Information about an AWS RAM permission.
Constructor and Description |
---|
ResourceSharePermissionDetail() |
Modifier and Type | Method and Description |
---|---|
ResourceSharePermissionDetail |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the permission.
|
Date |
getCreationTime()
The date and time when the permission was created.
|
Boolean |
getDefaultVersion()
The identifier for the version of the permission that is set as the default version.
|
Date |
getLastUpdatedTime()
The date and time when the permission was last updated.
|
String |
getName()
The name of the permission.
|
String |
getPermission()
The permission's effect and actions in JSON format.
|
String |
getResourceType()
The resource type to which the permission applies.
|
String |
getVersion()
The identifier for the version of the permission.
|
int |
hashCode() |
Boolean |
isDefaultVersion()
The identifier for the version of the permission that is set as the default version.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the permission.
|
void |
setCreationTime(Date creationTime)
The date and time when the permission was created.
|
void |
setDefaultVersion(Boolean defaultVersion)
The identifier for the version of the permission that is set as the default version.
|
void |
setLastUpdatedTime(Date lastUpdatedTime)
The date and time when the permission was last updated.
|
void |
setName(String name)
The name of the permission.
|
void |
setPermission(String permission)
The permission's effect and actions in JSON format.
|
void |
setResourceType(String resourceType)
The resource type to which the permission applies.
|
void |
setVersion(String version)
The identifier for the version of the permission.
|
String |
toString()
Returns a string representation of this object.
|
ResourceSharePermissionDetail |
withArn(String arn)
The ARN of the permission.
|
ResourceSharePermissionDetail |
withCreationTime(Date creationTime)
The date and time when the permission was created.
|
ResourceSharePermissionDetail |
withDefaultVersion(Boolean defaultVersion)
The identifier for the version of the permission that is set as the default version.
|
ResourceSharePermissionDetail |
withLastUpdatedTime(Date lastUpdatedTime)
The date and time when the permission was last updated.
|
ResourceSharePermissionDetail |
withName(String name)
The name of the permission.
|
ResourceSharePermissionDetail |
withPermission(String permission)
The permission's effect and actions in JSON format.
|
ResourceSharePermissionDetail |
withResourceType(String resourceType)
The resource type to which the permission applies.
|
ResourceSharePermissionDetail |
withVersion(String version)
The identifier for the version of the permission.
|
public void setArn(String arn)
The ARN of the permission.
arn
- The ARN of the permission.public String getArn()
The ARN of the permission.
public ResourceSharePermissionDetail withArn(String arn)
The ARN of the permission.
arn
- The 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 ResourceSharePermissionDetail 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)
The identifier for the version of the permission that is set as the default version.
defaultVersion
- The identifier for the version of the permission that is set as the default version.public Boolean getDefaultVersion()
The identifier for the version of the permission that is set as the default version.
public ResourceSharePermissionDetail withDefaultVersion(Boolean defaultVersion)
The identifier for the version of the permission that is set as the default version.
defaultVersion
- The identifier for the version of the permission that is set as the default version.public Boolean isDefaultVersion()
The identifier for the version of the permission that is set as the default version.
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 ResourceSharePermissionDetail withName(String name)
The name of the permission.
name
- The name of the permission.public void setResourceType(String resourceType)
The resource type to which the permission applies.
resourceType
- The resource type to which the permission applies.public String getResourceType()
The resource type to which the permission applies.
public ResourceSharePermissionDetail withResourceType(String resourceType)
The resource type to which the permission applies.
resourceType
- The resource type to which the permission applies.public void setPermission(String permission)
The permission's effect and actions in JSON format. The effect
indicates whether the actions are
allowed or denied. The actions
list the API actions to which the principal is granted or denied
access.
permission
- The permission's effect and actions in JSON format. The effect
indicates whether the actions
are allowed or denied. The actions
list the API actions to which the principal is granted or
denied access.public String getPermission()
The permission's effect and actions in JSON format. The effect
indicates whether the actions are
allowed or denied. The actions
list the API actions to which the principal is granted or denied
access.
effect
indicates whether the actions
are allowed or denied. The actions
list the API actions to which the principal is granted or
denied access.public ResourceSharePermissionDetail withPermission(String permission)
The permission's effect and actions in JSON format. The effect
indicates whether the actions are
allowed or denied. The actions
list the API actions to which the principal is granted or denied
access.
permission
- The permission's effect and actions in JSON format. The effect
indicates whether the actions
are allowed or denied. The actions
list the API actions to which the principal is granted or
denied access.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 ResourceSharePermissionDetail 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 ResourceSharePermissionDetail 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 String toString()
toString
in class Object
Object.toString()
public ResourceSharePermissionDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.