Package com.pulumi.aws.iam.inputs
Class GetRolesArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.iam.inputs.GetRolesArgs.Builder
-
- Enclosing class:
- GetRolesArgs
public static final class GetRolesArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(GetRolesArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetRolesArgsbuild()GetRolesArgs.BuildernameRegex(com.pulumi.core.Output<java.lang.String> nameRegex)GetRolesArgs.BuildernameRegex(java.lang.String nameRegex)GetRolesArgs.BuilderpathPrefix(com.pulumi.core.Output<java.lang.String> pathPrefix)GetRolesArgs.BuilderpathPrefix(java.lang.String pathPrefix)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GetRolesArgs defaults)
-
-
Method Detail
-
nameRegex
public GetRolesArgs.Builder nameRegex(@Nullable com.pulumi.core.Output<java.lang.String> nameRegex)
- Parameters:
nameRegex- Regex string to apply to the IAM roles list returned by AWS. This allows more advanced filtering not supported from the AWS API. This filtering is done locally on what AWS returns, and could have a performance impact if the result is large. Combine this with other options to narrow down the list AWS returns.- Returns:
- builder
-
nameRegex
public GetRolesArgs.Builder nameRegex(java.lang.String nameRegex)
- Parameters:
nameRegex- Regex string to apply to the IAM roles list returned by AWS. This allows more advanced filtering not supported from the AWS API. This filtering is done locally on what AWS returns, and could have a performance impact if the result is large. Combine this with other options to narrow down the list AWS returns.- Returns:
- builder
-
pathPrefix
public GetRolesArgs.Builder pathPrefix(@Nullable com.pulumi.core.Output<java.lang.String> pathPrefix)
- Parameters:
pathPrefix- Path prefix for filtering the results. For example, the prefix `/application_abc/component_xyz/` gets all roles whose path starts with `/application_abc/component_xyz/`. If it is not included, it defaults to a slash (`/`), listing all roles. For more details, check out [list-roles in the AWS CLI reference](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iam/list-roles.html).- Returns:
- builder
-
pathPrefix
public GetRolesArgs.Builder pathPrefix(java.lang.String pathPrefix)
- Parameters:
pathPrefix- Path prefix for filtering the results. For example, the prefix `/application_abc/component_xyz/` gets all roles whose path starts with `/application_abc/component_xyz/`. If it is not included, it defaults to a slash (`/`), listing all roles. For more details, check out [list-roles in the AWS CLI reference](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iam/list-roles.html).- Returns:
- builder
-
build
public GetRolesArgs build()
-
-