@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetResourcePoliciesResponseEntry extends Object implements Serializable, Cloneable, StructuredPojo
A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can manage
your Systems Manager resources. Currently, OpsItemGroup
is the only resource that supports Systems
Manager resource policies. The resource policy for OpsItemGroup
enables Amazon Web Services accounts to
view and interact with OpsCenter operational work items (OpsItems).
Constructor and Description |
---|
GetResourcePoliciesResponseEntry() |
Modifier and Type | Method and Description |
---|---|
GetResourcePoliciesResponseEntry |
clone() |
boolean |
equals(Object obj) |
String |
getPolicy()
A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can
manage your Systems Manager resources.
|
String |
getPolicyHash()
ID of the current policy version.
|
String |
getPolicyId()
A policy ID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPolicy(String policy)
A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can
manage your Systems Manager resources.
|
void |
setPolicyHash(String policyHash)
ID of the current policy version.
|
void |
setPolicyId(String policyId)
A policy ID.
|
String |
toString()
Returns a string representation of this object.
|
GetResourcePoliciesResponseEntry |
withPolicy(String policy)
A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can
manage your Systems Manager resources.
|
GetResourcePoliciesResponseEntry |
withPolicyHash(String policyHash)
ID of the current policy version.
|
GetResourcePoliciesResponseEntry |
withPolicyId(String policyId)
A policy ID.
|
public void setPolicyId(String policyId)
A policy ID.
policyId
- A policy ID.public String getPolicyId()
A policy ID.
public GetResourcePoliciesResponseEntry withPolicyId(String policyId)
A policy ID.
policyId
- A policy ID.public void setPolicyHash(String policyHash)
ID of the current policy version. The hash helps to prevent a situation where multiple users attempt to overwrite a policy. You must provide this hash when updating or deleting a policy.
policyHash
- ID of the current policy version. The hash helps to prevent a situation where multiple users attempt to
overwrite a policy. You must provide this hash when updating or deleting a policy.public String getPolicyHash()
ID of the current policy version. The hash helps to prevent a situation where multiple users attempt to overwrite a policy. You must provide this hash when updating or deleting a policy.
public GetResourcePoliciesResponseEntry withPolicyHash(String policyHash)
ID of the current policy version. The hash helps to prevent a situation where multiple users attempt to overwrite a policy. You must provide this hash when updating or deleting a policy.
policyHash
- ID of the current policy version. The hash helps to prevent a situation where multiple users attempt to
overwrite a policy. You must provide this hash when updating or deleting a policy.public void setPolicy(String policy)
A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can
manage your Systems Manager resources. Currently, OpsItemGroup
is the only resource that supports
Systems Manager resource policies. The resource policy for OpsItemGroup
enables Amazon Web Services
accounts to view and interact with OpsCenter operational work items (OpsItems).
policy
- A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that
can manage your Systems Manager resources. Currently, OpsItemGroup
is the only resource that
supports Systems Manager resource policies. The resource policy for OpsItemGroup
enables
Amazon Web Services accounts to view and interact with OpsCenter operational work items (OpsItems).public String getPolicy()
A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can
manage your Systems Manager resources. Currently, OpsItemGroup
is the only resource that supports
Systems Manager resource policies. The resource policy for OpsItemGroup
enables Amazon Web Services
accounts to view and interact with OpsCenter operational work items (OpsItems).
OpsItemGroup
is the only resource that
supports Systems Manager resource policies. The resource policy for OpsItemGroup
enables
Amazon Web Services accounts to view and interact with OpsCenter operational work items (OpsItems).public GetResourcePoliciesResponseEntry withPolicy(String policy)
A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can
manage your Systems Manager resources. Currently, OpsItemGroup
is the only resource that supports
Systems Manager resource policies. The resource policy for OpsItemGroup
enables Amazon Web Services
accounts to view and interact with OpsCenter operational work items (OpsItems).
policy
- A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that
can manage your Systems Manager resources. Currently, OpsItemGroup
is the only resource that
supports Systems Manager resource policies. The resource policy for OpsItemGroup
enables
Amazon Web Services accounts to view and interact with OpsCenter operational work items (OpsItems).public String toString()
toString
in class Object
Object.toString()
public GetResourcePoliciesResponseEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.