Package com.pulumi.aws.iam.inputs
Class RolePolicyAttachmentState.Builder
- java.lang.Object
-
- com.pulumi.aws.iam.inputs.RolePolicyAttachmentState.Builder
-
- Enclosing class:
- RolePolicyAttachmentState
public static final class RolePolicyAttachmentState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(RolePolicyAttachmentState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RolePolicyAttachmentStatebuild()RolePolicyAttachmentState.BuilderpolicyArn(com.pulumi.core.Output<java.lang.String> policyArn)RolePolicyAttachmentState.BuilderpolicyArn(java.lang.String policyArn)RolePolicyAttachmentState.Builderrole(com.pulumi.core.Output<java.lang.String> role)RolePolicyAttachmentState.Builderrole(java.lang.String role)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(RolePolicyAttachmentState defaults)
-
-
Method Detail
-
policyArn
public RolePolicyAttachmentState.Builder policyArn(@Nullable com.pulumi.core.Output<java.lang.String> policyArn)
- Parameters:
policyArn- The ARN of the policy you want to apply- Returns:
- builder
-
policyArn
public RolePolicyAttachmentState.Builder policyArn(java.lang.String policyArn)
- Parameters:
policyArn- The ARN of the policy you want to apply- Returns:
- builder
-
role
public RolePolicyAttachmentState.Builder role(@Nullable 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 RolePolicyAttachmentState.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 RolePolicyAttachmentState build()
-
-