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