Interface AttachedTo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AttachedTo.Builder,,AttachedTo> SdkBuilder<AttachedTo.Builder,,AttachedTo> SdkPojo
- Enclosing class:
AttachedTo
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the entity that the policy is attached to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
arn
The ARN of the entity that the policy is attached to. The ARN format depends on the policy type:
-
For identity, session, and permissions boundary policies, this is the principal ARN (for example, an IAM role or user ARN).
-
For resource-based policies, this is the resource ARN.
-
For organization control policies (SCPs and RCPs), this is the AWS Organizations ARN of the account, organizational unit, or root.
- Parameters:
arn- The ARN of the entity that the policy is attached to. The ARN format depends on the policy type:-
For identity, session, and permissions boundary policies, this is the principal ARN (for example, an IAM role or user ARN).
-
For resource-based policies, this is the resource ARN.
-
For organization control policies (SCPs and RCPs), this is the AWS Organizations ARN of the account, organizational unit, or root.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-