Interface AttachedPolicy.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AttachedPolicy.Builder,
,AttachedPolicy> SdkBuilder<AttachedPolicy.Builder,
,AttachedPolicy> SdkPojo
- Enclosing class:
AttachedPolicy
public static interface AttachedPolicy.Builder
extends SdkPojo, CopyableBuilder<AttachedPolicy.Builder,AttachedPolicy>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the PolicyArn property for this object.policyName
(String policyName) The friendly name of the attached policy.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 Details
-
policyName
The friendly name of the attached policy.
- Parameters:
policyName
- The friendly name of the attached policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyArn
Sets the value of the PolicyArn property for this object.- Parameters:
policyArn
- The new value for the PolicyArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-