@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociatedPermission extends Object implements Serializable, Cloneable, StructuredPojo
An object that describes a managed permission associated with a resource share.
Constructor and Description |
---|
AssociatedPermission() |
Modifier and Type | Method and Description |
---|---|
AssociatedPermission |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name
(ARN) of the associated managed permission.
|
Boolean |
getDefaultVersion()
Indicates whether the associated resource share is using the default version of the permission.
|
String |
getFeatureSet()
Indicates what features are available for this resource share.
|
Date |
getLastUpdatedTime()
The date and time when the association between the permission and the resource share was last updated.
|
String |
getPermissionVersion()
The version of the permission currently associated with the resource share.
|
String |
getResourceShareArn()
The Amazon Resource Name
(ARN) of a resource share associated with this permission.
|
String |
getResourceType()
The resource type to which this permission applies.
|
String |
getStatus()
The current status of the association between the permission and the resource share.
|
int |
hashCode() |
Boolean |
isDefaultVersion()
Indicates whether the associated resource share is using the default version of the permission.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name
(ARN) of the associated managed permission.
|
void |
setDefaultVersion(Boolean defaultVersion)
Indicates whether the associated resource share is using the default version of the permission.
|
void |
setFeatureSet(String featureSet)
Indicates what features are available for this resource share.
|
void |
setLastUpdatedTime(Date lastUpdatedTime)
The date and time when the association between the permission and the resource share was last updated.
|
void |
setPermissionVersion(String permissionVersion)
The version of the permission currently associated with the resource share.
|
void |
setResourceShareArn(String resourceShareArn)
The Amazon Resource Name
(ARN) of a resource share associated with this permission.
|
void |
setResourceType(String resourceType)
The resource type to which this permission applies.
|
void |
setStatus(String status)
The current status of the association between the permission and the resource share.
|
String |
toString()
Returns a string representation of this object.
|
AssociatedPermission |
withArn(String arn)
The Amazon Resource Name
(ARN) of the associated managed permission.
|
AssociatedPermission |
withDefaultVersion(Boolean defaultVersion)
Indicates whether the associated resource share is using the default version of the permission.
|
AssociatedPermission |
withFeatureSet(PermissionFeatureSet featureSet)
Indicates what features are available for this resource share.
|
AssociatedPermission |
withFeatureSet(String featureSet)
Indicates what features are available for this resource share.
|
AssociatedPermission |
withLastUpdatedTime(Date lastUpdatedTime)
The date and time when the association between the permission and the resource share was last updated.
|
AssociatedPermission |
withPermissionVersion(String permissionVersion)
The version of the permission currently associated with the resource share.
|
AssociatedPermission |
withResourceShareArn(String resourceShareArn)
The Amazon Resource Name
(ARN) of a resource share associated with this permission.
|
AssociatedPermission |
withResourceType(String resourceType)
The resource type to which this permission applies.
|
AssociatedPermission |
withStatus(String status)
The current status of the association between the permission and the resource share.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the associated managed permission.
arn
- The Amazon Resource
Name (ARN) of the associated managed permission.public String getArn()
The Amazon Resource Name (ARN) of the associated managed permission.
public AssociatedPermission withArn(String arn)
The Amazon Resource Name (ARN) of the associated managed permission.
arn
- The Amazon Resource
Name (ARN) of the associated managed permission.public void setPermissionVersion(String permissionVersion)
The version of the permission currently associated with the resource share.
permissionVersion
- The version of the permission currently associated with the resource share.public String getPermissionVersion()
The version of the permission currently associated with the resource share.
public AssociatedPermission withPermissionVersion(String permissionVersion)
The version of the permission currently associated with the resource share.
permissionVersion
- The version of the permission currently associated with the resource share.public void setDefaultVersion(Boolean defaultVersion)
Indicates whether the associated resource share is using the default version of the permission.
defaultVersion
- Indicates whether the associated resource share is using the default version of the permission.public Boolean getDefaultVersion()
Indicates whether the associated resource share is using the default version of the permission.
public AssociatedPermission withDefaultVersion(Boolean defaultVersion)
Indicates whether the associated resource share is using the default version of the permission.
defaultVersion
- Indicates whether the associated resource share is using the default version of the permission.public Boolean isDefaultVersion()
Indicates whether the associated resource share is using the default version of the 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 AssociatedPermission withResourceType(String resourceType)
The resource type to which this permission applies.
resourceType
- The resource type to which this permission applies.public void setStatus(String status)
The current status of the association between the permission and the resource share. The following are the possible values:
ATTACHABLE
– This permission or version can be associated with resource shares.
UNATTACHABLE
– This permission or version can't currently be associated with resource shares.
DELETING
– This permission or version is in the process of being deleted.
DELETED
– This permission or version is deleted.
status
- The current status of the association between the permission and the resource share. The following are the
possible values:
ATTACHABLE
– This permission or version can be associated with resource shares.
UNATTACHABLE
– This permission or version can't currently be associated with resource shares.
DELETING
– This permission or version is in the process of being deleted.
DELETED
– This permission or version is deleted.
public String getStatus()
The current status of the association between the permission and the resource share. The following are the possible values:
ATTACHABLE
– This permission or version can be associated with resource shares.
UNATTACHABLE
– This permission or version can't currently be associated with resource shares.
DELETING
– This permission or version is in the process of being deleted.
DELETED
– This permission or version is deleted.
ATTACHABLE
– This permission or version can be associated with resource shares.
UNATTACHABLE
– This permission or version can't currently be associated with resource
shares.
DELETING
– This permission or version is in the process of being deleted.
DELETED
– This permission or version is deleted.
public AssociatedPermission withStatus(String status)
The current status of the association between the permission and the resource share. The following are the possible values:
ATTACHABLE
– This permission or version can be associated with resource shares.
UNATTACHABLE
– This permission or version can't currently be associated with resource shares.
DELETING
– This permission or version is in the process of being deleted.
DELETED
– This permission or version is deleted.
status
- The current status of the association between the permission and the resource share. The following are the
possible values:
ATTACHABLE
– This permission or version can be associated with resource shares.
UNATTACHABLE
– This permission or version can't currently be associated with resource shares.
DELETING
– This permission or version is in the process of being deleted.
DELETED
– This permission or version is deleted.
public void setFeatureSet(String featureSet)
Indicates what features are available for this resource share. This parameter can have one of the following values:
STANDARD – A resource share that supports all functionality. These resource shares are visible to all principals you share the resource share with. You can modify these resource shares in RAM using the console or APIs. This resource share might have been created by RAM, or it might have been CREATED_FROM_POLICY and then promoted.
CREATED_FROM_POLICY – The customer manually shared a resource by attaching a resource-based policy. That policy did not match any existing managed permissions, so RAM created this customer managed permission automatically on the customer's behalf based on the attached policy document. This type of resource share is visible only to the Amazon Web Services account that created it. You can't modify it in RAM unless you promote it. For more information, see PromoteResourceShareCreatedFromPolicy.
PROMOTING_TO_STANDARD – This resource share was originally CREATED_FROM_POLICY
, but the
customer ran the PromoteResourceShareCreatedFromPolicy and that operation is still in progress. This value
changes to STANDARD
when complete.
featureSet
- Indicates what features are available for this resource share. This parameter can have one of the
following values:
STANDARD – A resource share that supports all functionality. These resource shares are visible to all principals you share the resource share with. You can modify these resource shares in RAM using the console or APIs. This resource share might have been created by RAM, or it might have been CREATED_FROM_POLICY and then promoted.
CREATED_FROM_POLICY – The customer manually shared a resource by attaching a resource-based policy. That policy did not match any existing managed permissions, so RAM created this customer managed permission automatically on the customer's behalf based on the attached policy document. This type of resource share is visible only to the Amazon Web Services account that created it. You can't modify it in RAM unless you promote it. For more information, see PromoteResourceShareCreatedFromPolicy.
PROMOTING_TO_STANDARD – This resource share was originally CREATED_FROM_POLICY
, but
the customer ran the PromoteResourceShareCreatedFromPolicy and that operation is still in progress.
This value changes to STANDARD
when complete.
PermissionFeatureSet
public String getFeatureSet()
Indicates what features are available for this resource share. This parameter can have one of the following values:
STANDARD – A resource share that supports all functionality. These resource shares are visible to all principals you share the resource share with. You can modify these resource shares in RAM using the console or APIs. This resource share might have been created by RAM, or it might have been CREATED_FROM_POLICY and then promoted.
CREATED_FROM_POLICY – The customer manually shared a resource by attaching a resource-based policy. That policy did not match any existing managed permissions, so RAM created this customer managed permission automatically on the customer's behalf based on the attached policy document. This type of resource share is visible only to the Amazon Web Services account that created it. You can't modify it in RAM unless you promote it. For more information, see PromoteResourceShareCreatedFromPolicy.
PROMOTING_TO_STANDARD – This resource share was originally CREATED_FROM_POLICY
, but the
customer ran the PromoteResourceShareCreatedFromPolicy and that operation is still in progress. This value
changes to STANDARD
when complete.
STANDARD – A resource share that supports all functionality. These resource shares are visible to all principals you share the resource share with. You can modify these resource shares in RAM using the console or APIs. This resource share might have been created by RAM, or it might have been CREATED_FROM_POLICY and then promoted.
CREATED_FROM_POLICY – The customer manually shared a resource by attaching a resource-based policy. That policy did not match any existing managed permissions, so RAM created this customer managed permission automatically on the customer's behalf based on the attached policy document. This type of resource share is visible only to the Amazon Web Services account that created it. You can't modify it in RAM unless you promote it. For more information, see PromoteResourceShareCreatedFromPolicy.
PROMOTING_TO_STANDARD – This resource share was originally CREATED_FROM_POLICY
, but
the customer ran the PromoteResourceShareCreatedFromPolicy and that operation is still in
progress. This value changes to STANDARD
when complete.
PermissionFeatureSet
public AssociatedPermission withFeatureSet(String featureSet)
Indicates what features are available for this resource share. This parameter can have one of the following values:
STANDARD – A resource share that supports all functionality. These resource shares are visible to all principals you share the resource share with. You can modify these resource shares in RAM using the console or APIs. This resource share might have been created by RAM, or it might have been CREATED_FROM_POLICY and then promoted.
CREATED_FROM_POLICY – The customer manually shared a resource by attaching a resource-based policy. That policy did not match any existing managed permissions, so RAM created this customer managed permission automatically on the customer's behalf based on the attached policy document. This type of resource share is visible only to the Amazon Web Services account that created it. You can't modify it in RAM unless you promote it. For more information, see PromoteResourceShareCreatedFromPolicy.
PROMOTING_TO_STANDARD – This resource share was originally CREATED_FROM_POLICY
, but the
customer ran the PromoteResourceShareCreatedFromPolicy and that operation is still in progress. This value
changes to STANDARD
when complete.
featureSet
- Indicates what features are available for this resource share. This parameter can have one of the
following values:
STANDARD – A resource share that supports all functionality. These resource shares are visible to all principals you share the resource share with. You can modify these resource shares in RAM using the console or APIs. This resource share might have been created by RAM, or it might have been CREATED_FROM_POLICY and then promoted.
CREATED_FROM_POLICY – The customer manually shared a resource by attaching a resource-based policy. That policy did not match any existing managed permissions, so RAM created this customer managed permission automatically on the customer's behalf based on the attached policy document. This type of resource share is visible only to the Amazon Web Services account that created it. You can't modify it in RAM unless you promote it. For more information, see PromoteResourceShareCreatedFromPolicy.
PROMOTING_TO_STANDARD – This resource share was originally CREATED_FROM_POLICY
, but
the customer ran the PromoteResourceShareCreatedFromPolicy and that operation is still in progress.
This value changes to STANDARD
when complete.
PermissionFeatureSet
public AssociatedPermission withFeatureSet(PermissionFeatureSet featureSet)
Indicates what features are available for this resource share. This parameter can have one of the following values:
STANDARD – A resource share that supports all functionality. These resource shares are visible to all principals you share the resource share with. You can modify these resource shares in RAM using the console or APIs. This resource share might have been created by RAM, or it might have been CREATED_FROM_POLICY and then promoted.
CREATED_FROM_POLICY – The customer manually shared a resource by attaching a resource-based policy. That policy did not match any existing managed permissions, so RAM created this customer managed permission automatically on the customer's behalf based on the attached policy document. This type of resource share is visible only to the Amazon Web Services account that created it. You can't modify it in RAM unless you promote it. For more information, see PromoteResourceShareCreatedFromPolicy.
PROMOTING_TO_STANDARD – This resource share was originally CREATED_FROM_POLICY
, but the
customer ran the PromoteResourceShareCreatedFromPolicy and that operation is still in progress. This value
changes to STANDARD
when complete.
featureSet
- Indicates what features are available for this resource share. This parameter can have one of the
following values:
STANDARD – A resource share that supports all functionality. These resource shares are visible to all principals you share the resource share with. You can modify these resource shares in RAM using the console or APIs. This resource share might have been created by RAM, or it might have been CREATED_FROM_POLICY and then promoted.
CREATED_FROM_POLICY – The customer manually shared a resource by attaching a resource-based policy. That policy did not match any existing managed permissions, so RAM created this customer managed permission automatically on the customer's behalf based on the attached policy document. This type of resource share is visible only to the Amazon Web Services account that created it. You can't modify it in RAM unless you promote it. For more information, see PromoteResourceShareCreatedFromPolicy.
PROMOTING_TO_STANDARD – This resource share was originally CREATED_FROM_POLICY
, but
the customer ran the PromoteResourceShareCreatedFromPolicy and that operation is still in progress.
This value changes to STANDARD
when complete.
PermissionFeatureSet
public void setLastUpdatedTime(Date lastUpdatedTime)
The date and time when the association between the permission and the resource share was last updated.
lastUpdatedTime
- The date and time when the association between the permission and the resource share was last updated.public Date getLastUpdatedTime()
The date and time when the association between the permission and the resource share was last updated.
public AssociatedPermission withLastUpdatedTime(Date lastUpdatedTime)
The date and time when the association between the permission and the resource share was last updated.
lastUpdatedTime
- The date and time when the association between the permission and the resource share was last updated.public void setResourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) of a resource share associated with this permission.
resourceShareArn
- The Amazon Resource
Name (ARN) of a resource share associated with this permission.public String getResourceShareArn()
The Amazon Resource Name (ARN) of a resource share associated with this permission.
public AssociatedPermission withResourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) of a resource share associated with this permission.
resourceShareArn
- The Amazon Resource
Name (ARN) of a resource share associated with this permission.public String toString()
toString
in class Object
Object.toString()
public AssociatedPermission clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.