Package com.pulumi.openstack.identity
Class ApplicationCredentialArgs.Builder
- java.lang.Object
-
- com.pulumi.openstack.identity.ApplicationCredentialArgs.Builder
-
- Enclosing class:
- ApplicationCredentialArgs
public static final class ApplicationCredentialArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ApplicationCredentialArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ApplicationCredentialArgs defaults)
-
-
Method Detail
-
accessRules
public ApplicationCredentialArgs.Builder accessRules(@Nullable com.pulumi.core.Output<java.util.List<ApplicationCredentialAccessRuleArgs>> accessRules)
- Parameters:
accessRules- A collection of one or more access rules, which this application credential allows to follow. The structure is described below. Changing this creates a new application credential.- Returns:
- builder
-
accessRules
public ApplicationCredentialArgs.Builder accessRules(java.util.List<ApplicationCredentialAccessRuleArgs> accessRules)
- Parameters:
accessRules- A collection of one or more access rules, which this application credential allows to follow. The structure is described below. Changing this creates a new application credential.- Returns:
- builder
-
accessRules
public ApplicationCredentialArgs.Builder accessRules(ApplicationCredentialAccessRuleArgs... accessRules)
- Parameters:
accessRules- A collection of one or more access rules, which this application credential allows to follow. The structure is described below. Changing this creates a new application credential.- Returns:
- builder
-
description
public ApplicationCredentialArgs.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description- A description of the application credential. Changing this creates a new application credential.- Returns:
- builder
-
description
public ApplicationCredentialArgs.Builder description(java.lang.String description)
- Parameters:
description- A description of the application credential. Changing this creates a new application credential.- Returns:
- builder
-
expiresAt
public ApplicationCredentialArgs.Builder expiresAt(@Nullable com.pulumi.core.Output<java.lang.String> expiresAt)
- Parameters:
expiresAt- The expiration time of the application credential in the RFC3339 timestamp format (e.g. `2019-03-09T12:58:49Z`). If omitted, an application credential will never expire. Changing this creates a new application credential.- Returns:
- builder
-
expiresAt
public ApplicationCredentialArgs.Builder expiresAt(java.lang.String expiresAt)
- Parameters:
expiresAt- The expiration time of the application credential in the RFC3339 timestamp format (e.g. `2019-03-09T12:58:49Z`). If omitted, an application credential will never expire. Changing this creates a new application credential.- Returns:
- builder
-
name
public ApplicationCredentialArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- A name of the application credential. Changing this creates a new application credential.- Returns:
- builder
-
name
public ApplicationCredentialArgs.Builder name(java.lang.String name)
- Parameters:
name- A name of the application credential. Changing this creates a new application credential.- Returns:
- builder
-
region
public ApplicationCredentialArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- The region in which to obtain the V3 Keystone client. If omitted, the `region` argument of the provider is used. Changing this creates a new application credential.- Returns:
- builder
-
region
public ApplicationCredentialArgs.Builder region(java.lang.String region)
- Parameters:
region- The region in which to obtain the V3 Keystone client. If omitted, the `region` argument of the provider is used. Changing this creates a new application credential.- Returns:
- builder
-
roles
public ApplicationCredentialArgs.Builder roles(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> roles)
- Parameters:
roles- A collection of one or more role names, which this application credential has to be associated with its project. If omitted, all the current user's roles within the scoped project will be inherited by a new application credential. Changing this creates a new application credential.- Returns:
- builder
-
roles
public ApplicationCredentialArgs.Builder roles(java.util.List<java.lang.String> roles)
- Parameters:
roles- A collection of one or more role names, which this application credential has to be associated with its project. If omitted, all the current user's roles within the scoped project will be inherited by a new application credential. Changing this creates a new application credential.- Returns:
- builder
-
roles
public ApplicationCredentialArgs.Builder roles(java.lang.String... roles)
- Parameters:
roles- A collection of one or more role names, which this application credential has to be associated with its project. If omitted, all the current user's roles within the scoped project will be inherited by a new application credential. Changing this creates a new application credential.- Returns:
- builder
-
secret
public ApplicationCredentialArgs.Builder secret(@Nullable com.pulumi.core.Output<java.lang.String> secret)
- Parameters:
secret- The secret for the application credential. If omitted, it will be generated by the server. Changing this creates a new application credential.- Returns:
- builder
-
secret
public ApplicationCredentialArgs.Builder secret(java.lang.String secret)
- Parameters:
secret- The secret for the application credential. If omitted, it will be generated by the server. Changing this creates a new application credential.- Returns:
- builder
-
unrestricted
public ApplicationCredentialArgs.Builder unrestricted(@Nullable com.pulumi.core.Output<java.lang.Boolean> unrestricted)
- Parameters:
unrestricted- A flag indicating whether the application credential may be used for creation or destruction of other application credentials or trusts. Changing this creates a new application credential.- Returns:
- builder
-
unrestricted
public ApplicationCredentialArgs.Builder unrestricted(java.lang.Boolean unrestricted)
- Parameters:
unrestricted- A flag indicating whether the application credential may be used for creation or destruction of other application credentials or trusts. Changing this creates a new application credential.- Returns:
- builder
-
build
public ApplicationCredentialArgs build()
-
-