Interface GetResourcePoliciesResponseEntry.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<GetResourcePoliciesResponseEntry.Builder,GetResourcePoliciesResponseEntry>
,SdkBuilder<GetResourcePoliciesResponseEntry.Builder,GetResourcePoliciesResponseEntry>
,SdkPojo
- Enclosing class:
- GetResourcePoliciesResponseEntry
public static interface GetResourcePoliciesResponseEntry.Builder extends SdkPojo, CopyableBuilder<GetResourcePoliciesResponseEntry.Builder,GetResourcePoliciesResponseEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetResourcePoliciesResponseEntry.Builder
policy(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.Builder
policyHash(String policyHash)
ID of the current policy version.GetResourcePoliciesResponseEntry.Builder
policyId(String policyId)
A policy ID.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
policyId
GetResourcePoliciesResponseEntry.Builder policyId(String policyId)
A policy ID.
- Parameters:
policyId
- A policy ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyHash
GetResourcePoliciesResponseEntry.Builder policyHash(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
policy
GetResourcePoliciesResponseEntry.Builder policy(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 forOpsItemGroup
enables Amazon Web Services accounts to view and interact with OpsCenter operational work items (OpsItems).- Parameters:
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 forOpsItemGroup
enables Amazon Web Services accounts to view and interact with OpsCenter operational work items (OpsItems).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-