Class GetResourcePoliciesResponseEntry
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GetResourcePoliciesResponseEntry.Builder,GetResourcePoliciesResponseEntry>
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).
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringpolicy()A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can manage your Systems Manager resources.final StringID of the current policy version.final StringpolicyId()A policy ID.static Class<? extends GetResourcePoliciesResponseEntry.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
policyId
A policy ID.
- Returns:
- A policy ID.
-
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.
- Returns:
- 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.
-
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,
OpsItemGroupis the only resource that supports Systems Manager resource policies. The resource policy forOpsItemGroupenables Amazon Web Services accounts to view and interact with OpsCenter operational work items (OpsItems).- Returns:
- 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,
OpsItemGroupis the only resource that supports Systems Manager resource policies. The resource policy forOpsItemGroupenables Amazon Web Services accounts to view and interact with OpsCenter operational work items (OpsItems).
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetResourcePoliciesResponseEntry.Builder,GetResourcePoliciesResponseEntry>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-