Package com.pulumi.aws.iam
Class InstanceProfileArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.iam.InstanceProfileArgs.Builder
-
- Enclosing class:
- InstanceProfileArgs
public static final class InstanceProfileArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(InstanceProfileArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceProfileArgs
build()
InstanceProfileArgs.Builder
name(com.pulumi.core.Output<java.lang.String> name)
InstanceProfileArgs.Builder
name(java.lang.String name)
InstanceProfileArgs.Builder
namePrefix(com.pulumi.core.Output<java.lang.String> namePrefix)
InstanceProfileArgs.Builder
namePrefix(java.lang.String namePrefix)
InstanceProfileArgs.Builder
path(com.pulumi.core.Output<java.lang.String> path)
InstanceProfileArgs.Builder
path(java.lang.String path)
InstanceProfileArgs.Builder
role(com.pulumi.core.Output<java.lang.String> role)
InstanceProfileArgs.Builder
role(java.lang.String role)
InstanceProfileArgs.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
InstanceProfileArgs.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(InstanceProfileArgs defaults)
-
-
Method Detail
-
name
public InstanceProfileArgs.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 `name_prefix`. Can be a string of characters consisting of upper and lowercase alphanumeric characters and these special characters: `_`, `+`, `=`, `,`, `.`, `@`, `-`. Spaces are not allowed.- Returns:
- builder
-
name
public InstanceProfileArgs.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 `name_prefix`. Can be a string of characters consisting of upper and lowercase alphanumeric characters and these special characters: `_`, `+`, `=`, `,`, `.`, `@`, `-`. Spaces are not allowed.- Returns:
- builder
-
namePrefix
public InstanceProfileArgs.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 InstanceProfileArgs.Builder namePrefix(java.lang.String namePrefix)
- Parameters:
namePrefix
- Creates a unique name beginning with the specified prefix. Conflicts with `name`.- Returns:
- builder
-
path
public InstanceProfileArgs.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 InstanceProfileArgs.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 InstanceProfileArgs.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 InstanceProfileArgs.Builder role(java.lang.String role)
- Parameters:
role
- Name of the role to add to the profile.- Returns:
- builder
-
tags
public InstanceProfileArgs.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public InstanceProfileArgs.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
build
public InstanceProfileArgs build()
-
-