Class ApplicationCredentialState.Builder
- java.lang.Object
-
- com.pulumi.openstack.identity.inputs.ApplicationCredentialState.Builder
-
- Enclosing class:
- ApplicationCredentialState
public static final class ApplicationCredentialState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ApplicationCredentialState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ApplicationCredentialState defaults)
-
-
Method Detail
-
accessRules
public ApplicationCredentialState.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 ApplicationCredentialState.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 ApplicationCredentialState.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 ApplicationCredentialState.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 ApplicationCredentialState.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 ApplicationCredentialState.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 ApplicationCredentialState.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 ApplicationCredentialState.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 ApplicationCredentialState.Builder name(java.lang.String name)
- Parameters:
name- A name of the application credential. Changing this creates a new application credential.- Returns:
- builder
-
projectId
public ApplicationCredentialState.Builder projectId(@Nullable com.pulumi.core.Output<java.lang.String> projectId)
- Parameters:
projectId- The ID of the project the application credential was created for and that authentication requests using this application credential will be scoped to.- Returns:
- builder
-
projectId
public ApplicationCredentialState.Builder projectId(java.lang.String projectId)
- Parameters:
projectId- The ID of the project the application credential was created for and that authentication requests using this application credential will be scoped to.- Returns:
- builder
-
region
public ApplicationCredentialState.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 ApplicationCredentialState.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 ApplicationCredentialState.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 ApplicationCredentialState.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 ApplicationCredentialState.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 ApplicationCredentialState.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 ApplicationCredentialState.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 ApplicationCredentialState.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 ApplicationCredentialState.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 ApplicationCredentialState build()
-
-