Interface PutResourcePolicyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<PutResourcePolicyResponse.Builder,PutResourcePolicyResponse>
,SdkBuilder<PutResourcePolicyResponse.Builder,PutResourcePolicyResponse>
,SdkPojo
,SdkResponse.Builder
,SsmResponse.Builder
- Enclosing class:
- PutResourcePolicyResponse
public static interface PutResourcePolicyResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<PutResourcePolicyResponse.Builder,PutResourcePolicyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutResourcePolicyResponse.Builder
policyHash(String policyHash)
ID of the current policy version.PutResourcePolicyResponse.Builder
policyId(String policyId)
The 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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
policyId
PutResourcePolicyResponse.Builder policyId(String policyId)
The policy ID. To update a policy, you must specify
PolicyId
andPolicyHash
.- Parameters:
policyId
- The policy ID. To update a policy, you must specifyPolicyId
andPolicyHash
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyHash
PutResourcePolicyResponse.Builder policyHash(String policyHash)
ID of the current policy version.
- Parameters:
policyHash
- ID of the current policy version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-