Package com.pulumi.aws.iam.inputs
Class InstanceProfileState.Builder
- java.lang.Object
-
- com.pulumi.aws.iam.inputs.InstanceProfileState.Builder
-
- Enclosing class:
- InstanceProfileState
public static final class InstanceProfileState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(InstanceProfileState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceProfileState.Builderarn(com.pulumi.core.Output<java.lang.String> arn)InstanceProfileState.Builderarn(java.lang.String arn)InstanceProfileStatebuild()InstanceProfileState.BuildercreateDate(com.pulumi.core.Output<java.lang.String> createDate)InstanceProfileState.BuildercreateDate(java.lang.String createDate)InstanceProfileState.Buildername(com.pulumi.core.Output<java.lang.String> name)InstanceProfileState.Buildername(java.lang.String name)InstanceProfileState.BuildernamePrefix(com.pulumi.core.Output<java.lang.String> namePrefix)InstanceProfileState.BuildernamePrefix(java.lang.String namePrefix)InstanceProfileState.Builderpath(com.pulumi.core.Output<java.lang.String> path)InstanceProfileState.Builderpath(java.lang.String path)InstanceProfileState.Builderrole(com.pulumi.core.Output<java.lang.String> role)InstanceProfileState.Builderrole(java.lang.String role)InstanceProfileState.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)InstanceProfileState.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)InstanceProfileState.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)InstanceProfileState.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)InstanceProfileState.BuilderuniqueId(com.pulumi.core.Output<java.lang.String> uniqueId)InstanceProfileState.BuilderuniqueId(java.lang.String uniqueId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(InstanceProfileState defaults)
-
-
Method Detail
-
arn
public InstanceProfileState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN assigned by AWS to the instance profile.- Returns:
- builder
-
arn
public InstanceProfileState.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN assigned by AWS to the instance profile.- Returns:
- builder
-
createDate
public InstanceProfileState.Builder createDate(@Nullable com.pulumi.core.Output<java.lang.String> createDate)
- Parameters:
createDate- Creation timestamp of the instance profile.- Returns:
- builder
-
createDate
public InstanceProfileState.Builder createDate(java.lang.String createDate)
- Parameters:
createDate- Creation timestamp of the instance profile.- Returns:
- builder
-
name
public InstanceProfileState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- Name of the instance profile. If omitted, this provider will assign a random, unique name. Conflicts with `namePrefix`. Can be a string of characters consisting of upper and lowercase alphanumeric characters and these special characters: `_`, `+`, `=`, `,`, `.`, `@`, `-`. Spaces are not allowed. The `name` must be unique, regardless of the `path` or `role`. In other words, if there are different `role` or `path` values but the same `name` as an existing instance profile, it will still cause an `EntityAlreadyExists` error.- Returns:
- builder
-
name
public InstanceProfileState.Builder name(java.lang.String name)
- Parameters:
name- Name of the instance profile. If omitted, this provider will assign a random, unique name. Conflicts with `namePrefix`. Can be a string of characters consisting of upper and lowercase alphanumeric characters and these special characters: `_`, `+`, `=`, `,`, `.`, `@`, `-`. Spaces are not allowed. The `name` must be unique, regardless of the `path` or `role`. In other words, if there are different `role` or `path` values but the same `name` as an existing instance profile, it will still cause an `EntityAlreadyExists` error.- Returns:
- builder
-
namePrefix
public InstanceProfileState.Builder namePrefix(@Nullable com.pulumi.core.Output<java.lang.String> namePrefix)
- Parameters:
namePrefix- Creates a unique name beginning with the specified prefix. Conflicts with `name`.- Returns:
- builder
-
namePrefix
public InstanceProfileState.Builder namePrefix(java.lang.String namePrefix)
- Parameters:
namePrefix- Creates a unique name beginning with the specified prefix. Conflicts with `name`.- Returns:
- builder
-
path
public InstanceProfileState.Builder path(@Nullable com.pulumi.core.Output<java.lang.String> path)
- Parameters:
path- Path to the instance profile. For more information about paths, see [IAM Identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) in the IAM User Guide. Can be a string of characters consisting of either a forward slash (`/`) by itself or a string that must begin and end with forward slashes. Can include any ASCII character from the ! (!) through the DEL character (), including most punctuation characters, digits, and upper and lowercase letters.- Returns:
- builder
-
path
public InstanceProfileState.Builder path(java.lang.String path)
- Parameters:
path- Path to the instance profile. For more information about paths, see [IAM Identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) in the IAM User Guide. Can be a string of characters consisting of either a forward slash (`/`) by itself or a string that must begin and end with forward slashes. Can include any ASCII character from the ! (!) through the DEL character (), including most punctuation characters, digits, and upper and lowercase letters.- Returns:
- builder
-
role
public InstanceProfileState.Builder role(@Nullable com.pulumi.core.Output<java.lang.String> role)
- Parameters:
role- Name of the role to add to the profile.- Returns:
- builder
-
role
public InstanceProfileState.Builder role(java.lang.String role)
- Parameters:
role- Name of the role to add to the profile.- Returns:
- builder
-
tags
public InstanceProfileState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Map of resource tags for the IAM Instance Profile. 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 InstanceProfileState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Map of resource tags for the IAM Instance Profile. 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 InstanceProfileState.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 InstanceProfileState.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 InstanceProfileState.Builder uniqueId(@Nullable com.pulumi.core.Output<java.lang.String> uniqueId)
- Parameters:
uniqueId- [Unique ID](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html#GUIDs) assigned by AWS.- Returns:
- builder
-
uniqueId
public InstanceProfileState.Builder uniqueId(java.lang.String uniqueId)
- Parameters:
uniqueId- [Unique ID](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html#GUIDs) assigned by AWS.- Returns:
- builder
-
build
public InstanceProfileState build()
-
-