Package com.pulumi.aws.iam
Class RolePolicyAttachmentArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.iam.RolePolicyAttachmentArgs.Builder
-
- Enclosing class:
- RolePolicyAttachmentArgs
public static final class RolePolicyAttachmentArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(RolePolicyAttachmentArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RolePolicyAttachmentArgs
build()
RolePolicyAttachmentArgs.Builder
policyArn(com.pulumi.core.Output<java.lang.String> policyArn)
RolePolicyAttachmentArgs.Builder
policyArn(java.lang.String policyArn)
RolePolicyAttachmentArgs.Builder
role(com.pulumi.core.Output<java.lang.String> role)
RolePolicyAttachmentArgs.Builder
role(java.lang.String role)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(RolePolicyAttachmentArgs defaults)
-
-
Method Detail
-
policyArn
public RolePolicyAttachmentArgs.Builder policyArn(com.pulumi.core.Output<java.lang.String> policyArn)
- Parameters:
policyArn
- The ARN of the policy you want to apply- Returns:
- builder
-
policyArn
public RolePolicyAttachmentArgs.Builder policyArn(java.lang.String policyArn)
- Parameters:
policyArn
- The ARN of the policy you want to apply- Returns:
- builder
-
role
public RolePolicyAttachmentArgs.Builder role(com.pulumi.core.Output<java.lang.String> role)
- Parameters:
role
- The name of the IAM role to which the policy should be applied- Returns:
- builder
-
role
public RolePolicyAttachmentArgs.Builder role(java.lang.String role)
- Parameters:
role
- The name of the IAM role to which the policy should be applied- Returns:
- builder
-
build
public RolePolicyAttachmentArgs build()
-
-