Class AzureClusterState.Builder

  • Enclosing class:
    AzureClusterState

    public static final class AzureClusterState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • annotations

        public AzureClusterState.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. Keys 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. **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field `effective_annotations` for all of the annotations present on the resource.
        Returns:
        builder
      • annotations

        public AzureClusterState.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. Keys 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. **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field `effective_annotations` for all of the annotations present on the resource.
        Returns:
        builder
      • azureRegion

        public AzureClusterState.Builder azureRegion​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> azureRegion)
        Parameters:
        azureRegion - The Azure region where the cluster runs. Each Google Cloud region supports a subset of nearby Azure regions. You can call to list all supported Azure regions within a given Google Cloud region.
        Returns:
        builder
      • azureRegion

        public AzureClusterState.Builder azureRegion​(java.lang.String azureRegion)
        Parameters:
        azureRegion - The Azure region where the cluster runs. Each Google Cloud region supports a subset of nearby Azure regions. You can call to list all supported Azure regions within a given Google Cloud region.
        Returns:
        builder
      • client

        public AzureClusterState.Builder client​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> client)
        Parameters:
        client - Name of the AzureClient. The `AzureClient` resource must reside on the same GCP project and region as the `AzureCluster`. `AzureClient` names are formatted as `projects/<project-number>/locations/<region>/azureClients/<client-id>`. See Resource Names (https:cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names.
        Returns:
        builder
      • client

        public AzureClusterState.Builder client​(java.lang.String client)
        Parameters:
        client - Name of the AzureClient. The `AzureClient` resource must reside on the same GCP project and region as the `AzureCluster`. `AzureClient` names are formatted as `projects/<project-number>/locations/<region>/azureClients/<client-id>`. See Resource Names (https:cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names.
        Returns:
        builder
      • createTime

        public AzureClusterState.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 AzureClusterState.Builder createTime​(java.lang.String createTime)
        Parameters:
        createTime - Output only. The time at which this cluster was created.
        Returns:
        builder
      • description

        public AzureClusterState.Builder description​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
        Returns:
        builder
      • description

        public AzureClusterState.Builder description​(java.lang.String description)
        Parameters:
        description - Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
        Returns:
        builder
      • effectiveAnnotations

        public AzureClusterState.Builder effectiveAnnotations​(@Nullable
                                                              com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Object>> effectiveAnnotations)
        Parameters:
        effectiveAnnotations - All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
        Returns:
        builder
      • effectiveAnnotations

        public AzureClusterState.Builder effectiveAnnotations​(java.util.Map<java.lang.String,​java.lang.Object> effectiveAnnotations)
        Parameters:
        effectiveAnnotations - All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
        Returns:
        builder
      • endpoint

        public AzureClusterState.Builder endpoint​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> endpoint)
        Parameters:
        endpoint - Output only. The endpoint of the cluster's API server.
        Returns:
        builder
      • endpoint

        public AzureClusterState.Builder endpoint​(java.lang.String endpoint)
        Parameters:
        endpoint - Output only. The endpoint of the cluster's API server.
        Returns:
        builder
      • etag

        public AzureClusterState.Builder etag​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> etag)
        Parameters:
        etag - Allows clients to perform consistent read-modify-writes through optimistic concurrency control. May be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
        Returns:
        builder
      • etag

        public AzureClusterState.Builder etag​(java.lang.String etag)
        Parameters:
        etag - Allows clients to perform consistent read-modify-writes through optimistic concurrency control. May be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
        Returns:
        builder
      • location

        public AzureClusterState.Builder location​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> location)
        Parameters:
        location - The location for the resource
        Returns:
        builder
      • location

        public AzureClusterState.Builder location​(java.lang.String location)
        Parameters:
        location - The location for the resource
        Returns:
        builder
      • name

        public AzureClusterState.Builder name​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of this resource.
        Returns:
        builder
      • name

        public AzureClusterState.Builder name​(java.lang.String name)
        Parameters:
        name - The name of this resource.
        Returns:
        builder
      • project

        public AzureClusterState.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.
        Returns:
        builder
      • project

        public AzureClusterState.Builder project​(java.lang.String project)
        Parameters:
        project - The number of the Fleet host project where this cluster will be registered.
        Returns:
        builder
      • reconciling

        public AzureClusterState.Builder reconciling​(@Nullable
                                                     com.pulumi.core.Output<java.lang.Boolean> reconciling)
        Parameters:
        reconciling - Output only. If set, there are currently changes in flight to the cluster.
        Returns:
        builder
      • reconciling

        public AzureClusterState.Builder reconciling​(java.lang.Boolean reconciling)
        Parameters:
        reconciling - Output only. If set, there are currently changes in flight to the cluster.
        Returns:
        builder
      • resourceGroupId

        public AzureClusterState.Builder resourceGroupId​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> resourceGroupId)
        Parameters:
        resourceGroupId - The ARM ID of the resource group where the cluster resources are deployed. For example: `/subscriptions/*/resourceGroups/*`
        Returns:
        builder
      • resourceGroupId

        public AzureClusterState.Builder resourceGroupId​(java.lang.String resourceGroupId)
        Parameters:
        resourceGroupId - The ARM ID of the resource group where the cluster resources are deployed. For example: `/subscriptions/*/resourceGroups/*`
        Returns:
        builder
      • state

        public AzureClusterState.Builder state​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> state)
        Parameters:
        state - Output only. The current state of the cluster. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
        Returns:
        builder
      • state

        public AzureClusterState.Builder state​(java.lang.String state)
        Parameters:
        state - Output only. The current state of the cluster. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
        Returns:
        builder
      • uid

        public AzureClusterState.Builder uid​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> uid)
        Parameters:
        uid - Output only. A globally unique identifier for the cluster.
        Returns:
        builder
      • uid

        public AzureClusterState.Builder uid​(java.lang.String uid)
        Parameters:
        uid - Output only. A globally unique identifier for the cluster.
        Returns:
        builder
      • updateTime

        public AzureClusterState.Builder updateTime​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> updateTime)
        Parameters:
        updateTime - Output only. The time at which this cluster was last updated.
        Returns:
        builder
      • updateTime

        public AzureClusterState.Builder updateTime​(java.lang.String updateTime)
        Parameters:
        updateTime - Output only. The time at which this cluster was last updated.
        Returns:
        builder