Class GetResourcePoliciesResponseEntry
- java.lang.Object
-
- software.amazon.awssdk.services.ssm.model.GetResourcePoliciesResponseEntry
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GetResourcePoliciesResponseEntry.Builder,GetResourcePoliciesResponseEntry>
@Generated("software.amazon.awssdk:codegen") public final class GetResourcePoliciesResponseEntry extends Object implements SdkPojo, Serializable, 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,
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).- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetResourcePoliciesResponseEntry.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetResourcePoliciesResponseEntry.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()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.StringpolicyHash()ID of the current policy version.StringpolicyId()A policy ID.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetResourcePoliciesResponseEntry.Builder>serializableBuilderClass()GetResourcePoliciesResponseEntry.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
policyId
public final String policyId()
A policy ID.
- Returns:
- A policy ID.
-
policyHash
public final 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.
- 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
public final 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,
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
public GetResourcePoliciesResponseEntry.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetResourcePoliciesResponseEntry.Builder,GetResourcePoliciesResponseEntry>
-
builder
public static GetResourcePoliciesResponseEntry.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetResourcePoliciesResponseEntry.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-