Package com.pulumi.aws.iam.inputs
Class UserState.Builder
- java.lang.Object
-
- com.pulumi.aws.iam.inputs.UserState.Builder
-
- Enclosing class:
- UserState
public static final class UserState.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserState.Builderarn(com.pulumi.core.Output<java.lang.String> arn)UserState.Builderarn(java.lang.String arn)UserStatebuild()UserState.BuilderforceDestroy(com.pulumi.core.Output<java.lang.Boolean> forceDestroy)UserState.BuilderforceDestroy(java.lang.Boolean forceDestroy)UserState.Buildername(com.pulumi.core.Output<java.lang.String> name)UserState.Buildername(java.lang.String name)UserState.Builderpath(com.pulumi.core.Output<java.lang.String> path)UserState.Builderpath(java.lang.String path)UserState.BuilderpermissionsBoundary(com.pulumi.core.Output<java.lang.String> permissionsBoundary)UserState.BuilderpermissionsBoundary(java.lang.String permissionsBoundary)UserState.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)UserState.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)UserState.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)UserState.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)UserState.BuilderuniqueId(com.pulumi.core.Output<java.lang.String> uniqueId)UserState.BuilderuniqueId(java.lang.String uniqueId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(UserState defaults)
-
-
Method Detail
-
arn
public UserState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- The ARN assigned by AWS for this user.- Returns:
- builder
-
arn
public UserState.Builder arn(java.lang.String arn)
- Parameters:
arn- The ARN assigned by AWS for this user.- Returns:
- builder
-
forceDestroy
public UserState.Builder forceDestroy(@Nullable com.pulumi.core.Output<java.lang.Boolean> forceDestroy)
- Parameters:
forceDestroy- When destroying this user, destroy even if it has non-provider-managed IAM access keys, login profile or MFA devices. Without `forceDestroy` a user with non-provider-managed access keys and login profile will fail to be destroyed. This only deletes objects when the user is destroyed, not when setting this parameter to true. Once this parameter is set to true, there must be a successful pulumi up run before a destroy is required to update this value in the resource state. Without a successful pulumi up after this parameter is set, this flag will have no effect. If setting this field in the same operation that would require replacing the user or destroying the user, this flag will not work. Additionally when importing a user, a successful pulumi up is required to set this value in state before it will take effect on a destroy operation.- Returns:
- builder
-
forceDestroy
public UserState.Builder forceDestroy(java.lang.Boolean forceDestroy)
- Parameters:
forceDestroy- When destroying this user, destroy even if it has non-provider-managed IAM access keys, login profile or MFA devices. Without `forceDestroy` a user with non-provider-managed access keys and login profile will fail to be destroyed. This only deletes objects when the user is destroyed, not when setting this parameter to true. Once this parameter is set to true, there must be a successful pulumi up run before a destroy is required to update this value in the resource state. Without a successful pulumi up after this parameter is set, this flag will have no effect. If setting this field in the same operation that would require replacing the user or destroying the user, this flag will not work. Additionally when importing a user, a successful pulumi up is required to set this value in state before it will take effect on a destroy operation.- Returns:
- builder
-
name
public UserState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- The user's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.@-_.`. User names are not distinguished by case. For example, you cannot create users named both "TESTUSER" and "testuser".- Returns:
- builder
-
name
public UserState.Builder name(java.lang.String name)
- Parameters:
name- The user's name. The name must consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: `=,.@-_.`. User names are not distinguished by case. For example, you cannot create users named both "TESTUSER" and "testuser".- Returns:
- builder
-
path
public UserState.Builder path(@Nullable com.pulumi.core.Output<java.lang.String> path)
- Parameters:
path- Path in which to create the user.- Returns:
- builder
-
path
public UserState.Builder path(java.lang.String path)
- Parameters:
path- Path in which to create the user.- Returns:
- builder
-
permissionsBoundary
public UserState.Builder permissionsBoundary(@Nullable com.pulumi.core.Output<java.lang.String> permissionsBoundary)
- Parameters:
permissionsBoundary- The ARN of the policy that is used to set the permissions boundary for the user.- Returns:
- builder
-
permissionsBoundary
public UserState.Builder permissionsBoundary(java.lang.String permissionsBoundary)
- Parameters:
permissionsBoundary- The ARN of the policy that is used to set the permissions boundary for the user.- Returns:
- builder
-
tags
public UserState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Key-value mapping of tags for the IAM user. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public UserState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Key-value mapping of tags for the IAM user. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tagsAll
public UserState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
tagsAll
public UserState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
uniqueId
public UserState.Builder uniqueId(@Nullable com.pulumi.core.Output<java.lang.String> uniqueId)
- Parameters:
uniqueId- The [unique ID](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html#GUIDs) assigned by AWS.- Returns:
- builder
-
uniqueId
public UserState.Builder uniqueId(java.lang.String uniqueId)
- Parameters:
uniqueId- The [unique ID](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html#GUIDs) assigned by AWS.- Returns:
- builder
-
build
public UserState build()
-
-