Package com.pulumi.gcp.projects.inputs
Class AccessApprovalSettingsState.Builder
- java.lang.Object
-
- com.pulumi.gcp.projects.inputs.AccessApprovalSettingsState.Builder
-
- Enclosing class:
- AccessApprovalSettingsState
public static final class AccessApprovalSettingsState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(AccessApprovalSettingsState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AccessApprovalSettingsState.Builder
activeKeyVersion(com.pulumi.core.Output<java.lang.String> activeKeyVersion)
AccessApprovalSettingsState.Builder
activeKeyVersion(java.lang.String activeKeyVersion)
AccessApprovalSettingsState.Builder
ancestorHasActiveKeyVersion(com.pulumi.core.Output<java.lang.Boolean> ancestorHasActiveKeyVersion)
AccessApprovalSettingsState.Builder
ancestorHasActiveKeyVersion(java.lang.Boolean ancestorHasActiveKeyVersion)
AccessApprovalSettingsState
build()
AccessApprovalSettingsState.Builder
enrolledAncestor(com.pulumi.core.Output<java.lang.Boolean> enrolledAncestor)
AccessApprovalSettingsState.Builder
enrolledAncestor(java.lang.Boolean enrolledAncestor)
AccessApprovalSettingsState.Builder
enrolledServices(com.pulumi.core.Output<java.util.List<AccessApprovalSettingsEnrolledServiceArgs>> enrolledServices)
AccessApprovalSettingsState.Builder
enrolledServices(AccessApprovalSettingsEnrolledServiceArgs... enrolledServices)
AccessApprovalSettingsState.Builder
enrolledServices(java.util.List<AccessApprovalSettingsEnrolledServiceArgs> enrolledServices)
AccessApprovalSettingsState.Builder
invalidKeyVersion(com.pulumi.core.Output<java.lang.Boolean> invalidKeyVersion)
AccessApprovalSettingsState.Builder
invalidKeyVersion(java.lang.Boolean invalidKeyVersion)
AccessApprovalSettingsState.Builder
name(com.pulumi.core.Output<java.lang.String> name)
AccessApprovalSettingsState.Builder
name(java.lang.String name)
AccessApprovalSettingsState.Builder
notificationEmails(com.pulumi.core.Output<java.util.List<java.lang.String>> notificationEmails)
AccessApprovalSettingsState.Builder
notificationEmails(java.lang.String... notificationEmails)
AccessApprovalSettingsState.Builder
notificationEmails(java.util.List<java.lang.String> notificationEmails)
AccessApprovalSettingsState.Builder
project(com.pulumi.core.Output<java.lang.String> project)
Deprecated.`project` is deprecated and will be removed in a future major release.AccessApprovalSettingsState.Builder
project(java.lang.String project)
Deprecated.`project` is deprecated and will be removed in a future major release.AccessApprovalSettingsState.Builder
projectId(com.pulumi.core.Output<java.lang.String> projectId)
AccessApprovalSettingsState.Builder
projectId(java.lang.String projectId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AccessApprovalSettingsState defaults)
-
-
Method Detail
-
activeKeyVersion
public AccessApprovalSettingsState.Builder activeKeyVersion(@Nullable com.pulumi.core.Output<java.lang.String> activeKeyVersion)
- Parameters:
activeKeyVersion
- The asymmetric crypto key version to use for signing approval requests. Empty active_key_version indicates that a Google-managed key should be used for signing. This property will be ignored if set by an ancestor of the resource, and new non-empty values may not be set.- Returns:
- builder
-
activeKeyVersion
public AccessApprovalSettingsState.Builder activeKeyVersion(java.lang.String activeKeyVersion)
- Parameters:
activeKeyVersion
- The asymmetric crypto key version to use for signing approval requests. Empty active_key_version indicates that a Google-managed key should be used for signing. This property will be ignored if set by an ancestor of the resource, and new non-empty values may not be set.- Returns:
- builder
-
ancestorHasActiveKeyVersion
public AccessApprovalSettingsState.Builder ancestorHasActiveKeyVersion(@Nullable com.pulumi.core.Output<java.lang.Boolean> ancestorHasActiveKeyVersion)
- Parameters:
ancestorHasActiveKeyVersion
- If the field is true, that indicates that an ancestor of this Project has set active_key_version.- Returns:
- builder
-
ancestorHasActiveKeyVersion
public AccessApprovalSettingsState.Builder ancestorHasActiveKeyVersion(java.lang.Boolean ancestorHasActiveKeyVersion)
- Parameters:
ancestorHasActiveKeyVersion
- If the field is true, that indicates that an ancestor of this Project has set active_key_version.- Returns:
- builder
-
enrolledAncestor
public AccessApprovalSettingsState.Builder enrolledAncestor(@Nullable com.pulumi.core.Output<java.lang.Boolean> enrolledAncestor)
- Parameters:
enrolledAncestor
- If the field is true, that indicates that at least one service is enrolled for Access Approval in one or more ancestors of the Project.- Returns:
- builder
-
enrolledAncestor
public AccessApprovalSettingsState.Builder enrolledAncestor(java.lang.Boolean enrolledAncestor)
- Parameters:
enrolledAncestor
- If the field is true, that indicates that at least one service is enrolled for Access Approval in one or more ancestors of the Project.- Returns:
- builder
-
enrolledServices
public AccessApprovalSettingsState.Builder enrolledServices(@Nullable com.pulumi.core.Output<java.util.List<AccessApprovalSettingsEnrolledServiceArgs>> enrolledServices)
- Parameters:
enrolledServices
- A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. Enrollment can only be done on an all or nothing basis. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded. Structure is documented below.- Returns:
- builder
-
enrolledServices
public AccessApprovalSettingsState.Builder enrolledServices(java.util.List<AccessApprovalSettingsEnrolledServiceArgs> enrolledServices)
- Parameters:
enrolledServices
- A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. Enrollment can only be done on an all or nothing basis. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded. Structure is documented below.- Returns:
- builder
-
enrolledServices
public AccessApprovalSettingsState.Builder enrolledServices(AccessApprovalSettingsEnrolledServiceArgs... enrolledServices)
- Parameters:
enrolledServices
- A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. Enrollment can only be done on an all or nothing basis. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded. Structure is documented below.- Returns:
- builder
-
invalidKeyVersion
public AccessApprovalSettingsState.Builder invalidKeyVersion(@Nullable com.pulumi.core.Output<java.lang.Boolean> invalidKeyVersion)
- Parameters:
invalidKeyVersion
- If the field is true, that indicates that there is some configuration issue with the active_key_version configured on this Project (e.g. it doesn't exist or the Access Approval service account doesn't have the correct permissions on it, etc.) This key version is not necessarily the effective key version at this level, as key versions are inherited top-down.- Returns:
- builder
-
invalidKeyVersion
public AccessApprovalSettingsState.Builder invalidKeyVersion(java.lang.Boolean invalidKeyVersion)
- Parameters:
invalidKeyVersion
- If the field is true, that indicates that there is some configuration issue with the active_key_version configured on this Project (e.g. it doesn't exist or the Access Approval service account doesn't have the correct permissions on it, etc.) This key version is not necessarily the effective key version at this level, as key versions are inherited top-down.- Returns:
- builder
-
name
public AccessApprovalSettingsState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- The resource name of the settings. Format is "projects/{project_id}/accessApprovalSettings"- Returns:
- builder
-
name
public AccessApprovalSettingsState.Builder name(java.lang.String name)
- Parameters:
name
- The resource name of the settings. Format is "projects/{project_id}/accessApprovalSettings"- Returns:
- builder
-
notificationEmails
public AccessApprovalSettingsState.Builder notificationEmails(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> notificationEmails)
- Parameters:
notificationEmails
- A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.- Returns:
- builder
-
notificationEmails
public AccessApprovalSettingsState.Builder notificationEmails(java.util.List<java.lang.String> notificationEmails)
- Parameters:
notificationEmails
- A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.- Returns:
- builder
-
notificationEmails
public AccessApprovalSettingsState.Builder notificationEmails(java.lang.String... notificationEmails)
- Parameters:
notificationEmails
- A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.- Returns:
- builder
-
project
@Deprecated public AccessApprovalSettingsState.Builder project(@Nullable com.pulumi.core.Output<java.lang.String> project)
Deprecated.`project` is deprecated and will be removed in a future major release. Use `project_id` instead.- Parameters:
project
- (Optional, Deprecated) Project id. > **Warning:** `project` is deprecated and will be removed in a future major release. Use `project_id` instead.- Returns:
- builder
-
project
@Deprecated public AccessApprovalSettingsState.Builder project(java.lang.String project)
Deprecated.`project` is deprecated and will be removed in a future major release. Use `project_id` instead.- Parameters:
project
- (Optional, Deprecated) Project id. > **Warning:** `project` is deprecated and will be removed in a future major release. Use `project_id` instead.- Returns:
- builder
-
projectId
public AccessApprovalSettingsState.Builder projectId(@Nullable com.pulumi.core.Output<java.lang.String> projectId)
- Parameters:
projectId
- ID of the project of the access approval settings.- Returns:
- builder
-
projectId
public AccessApprovalSettingsState.Builder projectId(java.lang.String projectId)
- Parameters:
projectId
- ID of the project of the access approval settings.- Returns:
- builder
-
build
public AccessApprovalSettingsState build()
-
-