Package com.pulumi.aws.iam.inputs
Class RolePolicyAttachmentsExclusiveState.Builder
- java.lang.Object
-
- com.pulumi.aws.iam.inputs.RolePolicyAttachmentsExclusiveState.Builder
-
- Enclosing class:
- RolePolicyAttachmentsExclusiveState
public static final class RolePolicyAttachmentsExclusiveState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(RolePolicyAttachmentsExclusiveState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RolePolicyAttachmentsExclusiveStatebuild()RolePolicyAttachmentsExclusiveState.BuilderpolicyArns(com.pulumi.core.Output<java.util.List<java.lang.String>> policyArns)RolePolicyAttachmentsExclusiveState.BuilderpolicyArns(java.lang.String... policyArns)RolePolicyAttachmentsExclusiveState.BuilderpolicyArns(java.util.List<java.lang.String> policyArns)RolePolicyAttachmentsExclusiveState.BuilderroleName(com.pulumi.core.Output<java.lang.String> roleName)RolePolicyAttachmentsExclusiveState.BuilderroleName(java.lang.String roleName)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(RolePolicyAttachmentsExclusiveState defaults)
-
-
Method Detail
-
policyArns
public RolePolicyAttachmentsExclusiveState.Builder policyArns(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> policyArns)
- Parameters:
policyArns- A list of managed IAM policy ARNs to be attached to the role. Policies attached to this role but not configured in this argument will be removed.- Returns:
- builder
-
policyArns
public RolePolicyAttachmentsExclusiveState.Builder policyArns(java.util.List<java.lang.String> policyArns)
- Parameters:
policyArns- A list of managed IAM policy ARNs to be attached to the role. Policies attached to this role but not configured in this argument will be removed.- Returns:
- builder
-
policyArns
public RolePolicyAttachmentsExclusiveState.Builder policyArns(java.lang.String... policyArns)
- Parameters:
policyArns- A list of managed IAM policy ARNs to be attached to the role. Policies attached to this role but not configured in this argument will be removed.- Returns:
- builder
-
roleName
public RolePolicyAttachmentsExclusiveState.Builder roleName(@Nullable com.pulumi.core.Output<java.lang.String> roleName)
- Parameters:
roleName- IAM role name.- Returns:
- builder
-
roleName
public RolePolicyAttachmentsExclusiveState.Builder roleName(java.lang.String roleName)
- Parameters:
roleName- IAM role name.- Returns:
- builder
-
build
public RolePolicyAttachmentsExclusiveState build()
-
-