Package com.pulumi.gcp.container.inputs
Class AttachedClusterState.Builder
- java.lang.Object
-
- com.pulumi.gcp.container.inputs.AttachedClusterState.Builder
-
- Enclosing class:
- AttachedClusterState
public static final class AttachedClusterState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(AttachedClusterState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AttachedClusterState defaults)
-
-
Method Detail
-
annotations
public AttachedClusterState.Builder annotations(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> annotations)
- Parameters:
annotations
- Optional. Annotations on the cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.- Returns:
- builder
-
annotations
public AttachedClusterState.Builder annotations(java.util.Map<java.lang.String,java.lang.String> annotations)
- Parameters:
annotations
- Optional. Annotations on the cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.- Returns:
- builder
-
authorization
public AttachedClusterState.Builder authorization(@Nullable com.pulumi.core.Output<AttachedClusterAuthorizationArgs> authorization)
- Parameters:
authorization
- Configuration related to the cluster RBAC settings. Structure is documented below.- Returns:
- builder
-
authorization
public AttachedClusterState.Builder authorization(AttachedClusterAuthorizationArgs authorization)
- Parameters:
authorization
- Configuration related to the cluster RBAC settings. Structure is documented below.- Returns:
- builder
-
clusterRegion
public AttachedClusterState.Builder clusterRegion(@Nullable com.pulumi.core.Output<java.lang.String> clusterRegion)
- Parameters:
clusterRegion
- Output only. The region where this cluster runs. For EKS clusters, this is an AWS region. For AKS clusters, this is an Azure region.- Returns:
- builder
-
clusterRegion
public AttachedClusterState.Builder clusterRegion(java.lang.String clusterRegion)
- Parameters:
clusterRegion
- Output only. The region where this cluster runs. For EKS clusters, this is an AWS region. For AKS clusters, this is an Azure region.- Returns:
- builder
-
createTime
public AttachedClusterState.Builder createTime(@Nullable com.pulumi.core.Output<java.lang.String> createTime)
- Parameters:
createTime
- Output only. The time at which this cluster was created.- Returns:
- builder
-
createTime
public AttachedClusterState.Builder createTime(java.lang.String createTime)
- Parameters:
createTime
- Output only. The time at which this cluster was created.- Returns:
- builder
-
deletionPolicy
public AttachedClusterState.Builder deletionPolicy(@Nullable com.pulumi.core.Output<java.lang.String> deletionPolicy)
- Parameters:
deletionPolicy
- Policy to determine what flags to send on delete.- Returns:
- builder
-
deletionPolicy
public AttachedClusterState.Builder deletionPolicy(java.lang.String deletionPolicy)
- Parameters:
deletionPolicy
- Policy to determine what flags to send on delete.- Returns:
- builder
-
description
public AttachedClusterState.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description
- A human readable description of this attached cluster. Cannot be longer than 255 UTF-8 encoded bytes.- Returns:
- builder
-
description
public AttachedClusterState.Builder description(java.lang.String description)
- Parameters:
description
- A human readable description of this attached cluster. Cannot be longer than 255 UTF-8 encoded bytes.- Returns:
- builder
-
distribution
public AttachedClusterState.Builder distribution(@Nullable com.pulumi.core.Output<java.lang.String> distribution)
- Parameters:
distribution
- The Kubernetes distribution of the underlying attached cluster. Supported values: "eks", "aks".- Returns:
- builder
-
distribution
public AttachedClusterState.Builder distribution(java.lang.String distribution)
- Parameters:
distribution
- The Kubernetes distribution of the underlying attached cluster. Supported values: "eks", "aks".- Returns:
- builder
-
errors
public AttachedClusterState.Builder errors(@Nullable com.pulumi.core.Output<java.util.List<AttachedClusterErrorArgs>> errors)
- Parameters:
errors
- A set of errors found in the cluster. Structure is documented below.- Returns:
- builder
-
errors
public AttachedClusterState.Builder errors(java.util.List<AttachedClusterErrorArgs> errors)
- Parameters:
errors
- A set of errors found in the cluster. Structure is documented below.- Returns:
- builder
-
errors
public AttachedClusterState.Builder errors(AttachedClusterErrorArgs... errors)
- Parameters:
errors
- A set of errors found in the cluster. Structure is documented below.- Returns:
- builder
-
fleet
public AttachedClusterState.Builder fleet(@Nullable com.pulumi.core.Output<AttachedClusterFleetArgs> fleet)
- Parameters:
fleet
- Fleet configuration. Structure is documented below.- Returns:
- builder
-
fleet
public AttachedClusterState.Builder fleet(AttachedClusterFleetArgs fleet)
- Parameters:
fleet
- Fleet configuration. Structure is documented below.- Returns:
- builder
-
kubernetesVersion
public AttachedClusterState.Builder kubernetesVersion(@Nullable com.pulumi.core.Output<java.lang.String> kubernetesVersion)
- Parameters:
kubernetesVersion
- The Kubernetes version of the cluster.- Returns:
- builder
-
kubernetesVersion
public AttachedClusterState.Builder kubernetesVersion(java.lang.String kubernetesVersion)
- Parameters:
kubernetesVersion
- The Kubernetes version of the cluster.- Returns:
- builder
-
location
public AttachedClusterState.Builder location(@Nullable com.pulumi.core.Output<java.lang.String> location)
- Parameters:
location
- The location for the resource- Returns:
- builder
-
location
public AttachedClusterState.Builder location(java.lang.String location)
- Parameters:
location
- The location for the resource- Returns:
- builder
-
loggingConfig
public AttachedClusterState.Builder loggingConfig(@Nullable com.pulumi.core.Output<AttachedClusterLoggingConfigArgs> loggingConfig)
- Parameters:
loggingConfig
- Logging configuration. Structure is documented below.- Returns:
- builder
-
loggingConfig
public AttachedClusterState.Builder loggingConfig(AttachedClusterLoggingConfigArgs loggingConfig)
- Parameters:
loggingConfig
- Logging configuration. Structure is documented below.- Returns:
- builder
-
monitoringConfig
public AttachedClusterState.Builder monitoringConfig(@Nullable com.pulumi.core.Output<AttachedClusterMonitoringConfigArgs> monitoringConfig)
- Parameters:
monitoringConfig
- Monitoring configuration. Structure is documented below.- Returns:
- builder
-
monitoringConfig
public AttachedClusterState.Builder monitoringConfig(AttachedClusterMonitoringConfigArgs monitoringConfig)
- Parameters:
monitoringConfig
- Monitoring configuration. Structure is documented below.- Returns:
- builder
-
name
public AttachedClusterState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- The name of this resource.- Returns:
- builder
-
name
public AttachedClusterState.Builder name(java.lang.String name)
- Parameters:
name
- The name of this resource.- Returns:
- builder
-
oidcConfig
public AttachedClusterState.Builder oidcConfig(@Nullable com.pulumi.core.Output<AttachedClusterOidcConfigArgs> oidcConfig)
- Parameters:
oidcConfig
- OIDC discovery information of the target cluster. Kubernetes Service Account (KSA) tokens are JWT tokens signed by the cluster API server. This fields indicates how GCP services validate KSA tokens in order to allow system workloads (such as GKE Connect and telemetry agents) to authenticate back to GCP. Both clusters with public and private issuer URLs are supported. Clusters with public issuers only need to specify the `issuer_url` field while clusters with private issuers need to provide both `issuer_url` and `jwks`. Structure is documented below.- Returns:
- builder
-
oidcConfig
public AttachedClusterState.Builder oidcConfig(AttachedClusterOidcConfigArgs oidcConfig)
- Parameters:
oidcConfig
- OIDC discovery information of the target cluster. Kubernetes Service Account (KSA) tokens are JWT tokens signed by the cluster API server. This fields indicates how GCP services validate KSA tokens in order to allow system workloads (such as GKE Connect and telemetry agents) to authenticate back to GCP. Both clusters with public and private issuer URLs are supported. Clusters with public issuers only need to specify the `issuer_url` field while clusters with private issuers need to provide both `issuer_url` and `jwks`. Structure is documented below.- Returns:
- builder
-
platformVersion
public AttachedClusterState.Builder platformVersion(@Nullable com.pulumi.core.Output<java.lang.String> platformVersion)
- Parameters:
platformVersion
- The platform version for the cluster (e.g. `1.23.0-gke.1`).- Returns:
- builder
-
platformVersion
public AttachedClusterState.Builder platformVersion(java.lang.String platformVersion)
- Parameters:
platformVersion
- The platform version for the cluster (e.g. `1.23.0-gke.1`).- Returns:
- builder
-
project
public AttachedClusterState.Builder project(@Nullable com.pulumi.core.Output<java.lang.String> project)
- Parameters:
project
- The number of the Fleet host project where this cluster will be registered. *** If it is not provided, the provider project is used.- Returns:
- builder
-
project
public AttachedClusterState.Builder project(java.lang.String project)
- Parameters:
project
- The number of the Fleet host project where this cluster will be registered. *** If it is not provided, the provider project is used.- Returns:
- builder
-
reconciling
public AttachedClusterState.Builder reconciling(@Nullable com.pulumi.core.Output<java.lang.Boolean> reconciling)
- Parameters:
reconciling
- If set, there are currently changes in flight to the cluster.- Returns:
- builder
-
reconciling
public AttachedClusterState.Builder reconciling(java.lang.Boolean reconciling)
- Parameters:
reconciling
- If set, there are currently changes in flight to the cluster.- Returns:
- builder
-
state
public AttachedClusterState.Builder state(@Nullable com.pulumi.core.Output<java.lang.String> state)
- Parameters:
state
- The current state of the cluster. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED- Returns:
- builder
-
state
public AttachedClusterState.Builder state(java.lang.String state)
- Parameters:
state
- The current state of the cluster. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED- Returns:
- builder
-
uid
public AttachedClusterState.Builder uid(@Nullable com.pulumi.core.Output<java.lang.String> uid)
- Parameters:
uid
- A globally unique identifier for the cluster.- Returns:
- builder
-
uid
public AttachedClusterState.Builder uid(java.lang.String uid)
- Parameters:
uid
- A globally unique identifier for the cluster.- Returns:
- builder
-
updateTime
public AttachedClusterState.Builder updateTime(@Nullable com.pulumi.core.Output<java.lang.String> updateTime)
- Parameters:
updateTime
- The time at which this cluster was last updated.- Returns:
- builder
-
updateTime
public AttachedClusterState.Builder updateTime(java.lang.String updateTime)
- Parameters:
updateTime
- The time at which this cluster was last updated.- Returns:
- builder
-
workloadIdentityConfigs
public AttachedClusterState.Builder workloadIdentityConfigs(@Nullable com.pulumi.core.Output<java.util.List<AttachedClusterWorkloadIdentityConfigArgs>> workloadIdentityConfigs)
- Parameters:
workloadIdentityConfigs
- Workload Identity settings. Structure is documented below.- Returns:
- builder
-
workloadIdentityConfigs
public AttachedClusterState.Builder workloadIdentityConfigs(java.util.List<AttachedClusterWorkloadIdentityConfigArgs> workloadIdentityConfigs)
- Parameters:
workloadIdentityConfigs
- Workload Identity settings. Structure is documented below.- Returns:
- builder
-
workloadIdentityConfigs
public AttachedClusterState.Builder workloadIdentityConfigs(AttachedClusterWorkloadIdentityConfigArgs... workloadIdentityConfigs)
- Parameters:
workloadIdentityConfigs
- Workload Identity settings. Structure is documented below.- Returns:
- builder
-
build
public AttachedClusterState build()
-
-