Package com.pulumi.gcp.cloudrun.inputs
Class ServiceTemplateMetadataArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.cloudrun.inputs.ServiceTemplateMetadataArgs.Builder
-
- Enclosing class:
- ServiceTemplateMetadataArgs
public static final class ServiceTemplateMetadataArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ServiceTemplateMetadataArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceTemplateMetadataArgs.Builder
annotations(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> annotations)
ServiceTemplateMetadataArgs.Builder
annotations(java.util.Map<java.lang.String,java.lang.String> annotations)
ServiceTemplateMetadataArgs
build()
ServiceTemplateMetadataArgs.Builder
generation(com.pulumi.core.Output<java.lang.Integer> generation)
ServiceTemplateMetadataArgs.Builder
generation(java.lang.Integer generation)
ServiceTemplateMetadataArgs.Builder
labels(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> labels)
ServiceTemplateMetadataArgs.Builder
labels(java.util.Map<java.lang.String,java.lang.String> labels)
ServiceTemplateMetadataArgs.Builder
name(com.pulumi.core.Output<java.lang.String> name)
ServiceTemplateMetadataArgs.Builder
name(java.lang.String name)
ServiceTemplateMetadataArgs.Builder
namespace(com.pulumi.core.Output<java.lang.String> namespace)
ServiceTemplateMetadataArgs.Builder
namespace(java.lang.String namespace)
ServiceTemplateMetadataArgs.Builder
resourceVersion(com.pulumi.core.Output<java.lang.String> resourceVersion)
ServiceTemplateMetadataArgs.Builder
resourceVersion(java.lang.String resourceVersion)
ServiceTemplateMetadataArgs.Builder
selfLink(com.pulumi.core.Output<java.lang.String> selfLink)
ServiceTemplateMetadataArgs.Builder
selfLink(java.lang.String selfLink)
ServiceTemplateMetadataArgs.Builder
uid(com.pulumi.core.Output<java.lang.String> uid)
ServiceTemplateMetadataArgs.Builder
uid(java.lang.String uid)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ServiceTemplateMetadataArgs defaults)
-
-
Method Detail
-
annotations
public ServiceTemplateMetadataArgs.Builder annotations(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> annotations)
- Parameters:
annotations
- Annotations is a key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations **Note**: The Cloud Run API may add additional annotations that were not provided in your config. If the provider plan shows a diff where a server-side annotation is added, you can add it to your config or apply the lifecycle.ignore_changes rule to the metadata.0.annotations field. Annotations with `run.googleapis.com/` and `autoscaling.knative.dev` are restricted. Use the following annotation keys to configure features on a Service: - `run.googleapis.com/binary-authorization-breakglass` sets the [Binary Authorization breakglass](https://cloud.google.com/sdk/gcloud/reference/run/deploy#--breakglass). - `run.googleapis.com/binary-authorization` sets the [Binary Authorization](https://cloud.google.com/sdk/gcloud/reference/run/deploy#--binary-authorization). - `run.googleapis.com/client-name` sets the client name calling the Cloud Run API. - `run.googleapis.com/custom-audiences` sets the [custom audiences](https://cloud.google.com/sdk/gcloud/reference/alpha/run/deploy#--add-custom-audiences) that can be used in the audience field of ID token for authenticated requests. - `run.googleapis.com/description` sets a user defined description for the Service. - `run.googleapis.com/ingress` sets the [ingress settings](https://cloud.google.com/sdk/gcloud/reference/run/deploy#--ingress) for the Service. For example, `"run.googleapis.com/ingress" = "all"`. - `run.googleapis.com/launch-stage` sets the [launch stage](https://cloud.google.com/run/docs/troubleshooting#launch-stage-validation) when a preview feature is used. For example, `"run.googleapis.com/launch-stage": "BETA"` **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 ServiceTemplateMetadataArgs.Builder annotations(java.util.Map<java.lang.String,java.lang.String> annotations)
- Parameters:
annotations
- Annotations is a key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations **Note**: The Cloud Run API may add additional annotations that were not provided in your config. If the provider plan shows a diff where a server-side annotation is added, you can add it to your config or apply the lifecycle.ignore_changes rule to the metadata.0.annotations field. Annotations with `run.googleapis.com/` and `autoscaling.knative.dev` are restricted. Use the following annotation keys to configure features on a Service: - `run.googleapis.com/binary-authorization-breakglass` sets the [Binary Authorization breakglass](https://cloud.google.com/sdk/gcloud/reference/run/deploy#--breakglass). - `run.googleapis.com/binary-authorization` sets the [Binary Authorization](https://cloud.google.com/sdk/gcloud/reference/run/deploy#--binary-authorization). - `run.googleapis.com/client-name` sets the client name calling the Cloud Run API. - `run.googleapis.com/custom-audiences` sets the [custom audiences](https://cloud.google.com/sdk/gcloud/reference/alpha/run/deploy#--add-custom-audiences) that can be used in the audience field of ID token for authenticated requests. - `run.googleapis.com/description` sets a user defined description for the Service. - `run.googleapis.com/ingress` sets the [ingress settings](https://cloud.google.com/sdk/gcloud/reference/run/deploy#--ingress) for the Service. For example, `"run.googleapis.com/ingress" = "all"`. - `run.googleapis.com/launch-stage` sets the [launch stage](https://cloud.google.com/run/docs/troubleshooting#launch-stage-validation) when a preview feature is used. For example, `"run.googleapis.com/launch-stage": "BETA"` **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
-
generation
public ServiceTemplateMetadataArgs.Builder generation(@Nullable com.pulumi.core.Output<java.lang.Integer> generation)
- Parameters:
generation
- (Output) A sequence number representing a specific generation of the desired state.- Returns:
- builder
-
generation
public ServiceTemplateMetadataArgs.Builder generation(java.lang.Integer generation)
- Parameters:
generation
- (Output) A sequence number representing a specific generation of the desired state.- Returns:
- builder
-
labels
public ServiceTemplateMetadataArgs.Builder labels(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> labels)
- Parameters:
labels
- Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effective_labels` for all of the labels present on the resource.- Returns:
- builder
-
labels
public ServiceTemplateMetadataArgs.Builder labels(java.util.Map<java.lang.String,java.lang.String> labels)
- Parameters:
labels
- Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effective_labels` for all of the labels present on the resource.- Returns:
- builder
-
name
public ServiceTemplateMetadataArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- Name must be unique within a Google Cloud project and region. Is required when creating resources. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated.- Returns:
- builder
-
name
public ServiceTemplateMetadataArgs.Builder name(java.lang.String name)
- Parameters:
name
- Name must be unique within a Google Cloud project and region. Is required when creating resources. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated.- Returns:
- builder
-
namespace
public ServiceTemplateMetadataArgs.Builder namespace(@Nullable com.pulumi.core.Output<java.lang.String> namespace)
- Parameters:
namespace
- In Cloud Run the namespace must be equal to either the project ID or project number.- Returns:
- builder
-
namespace
public ServiceTemplateMetadataArgs.Builder namespace(java.lang.String namespace)
- Parameters:
namespace
- In Cloud Run the namespace must be equal to either the project ID or project number.- Returns:
- builder
-
resourceVersion
public ServiceTemplateMetadataArgs.Builder resourceVersion(@Nullable com.pulumi.core.Output<java.lang.String> resourceVersion)
- Parameters:
resourceVersion
- (Output) An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. They may only be valid for a particular resource or set of resources.- Returns:
- builder
-
resourceVersion
public ServiceTemplateMetadataArgs.Builder resourceVersion(java.lang.String resourceVersion)
- Parameters:
resourceVersion
- (Output) An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. They may only be valid for a particular resource or set of resources.- Returns:
- builder
-
selfLink
public ServiceTemplateMetadataArgs.Builder selfLink(@Nullable com.pulumi.core.Output<java.lang.String> selfLink)
- Parameters:
selfLink
- (Output) SelfLink is a URL representing this object.- Returns:
- builder
-
selfLink
public ServiceTemplateMetadataArgs.Builder selfLink(java.lang.String selfLink)
- Parameters:
selfLink
- (Output) SelfLink is a URL representing this object.- Returns:
- builder
-
uid
public ServiceTemplateMetadataArgs.Builder uid(@Nullable com.pulumi.core.Output<java.lang.String> uid)
- Parameters:
uid
- (Output) UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations.- Returns:
- builder
-
uid
public ServiceTemplateMetadataArgs.Builder uid(java.lang.String uid)
- Parameters:
uid
- (Output) UID is a unique id generated by the server on successful creation of a resource and is not allowed to change on PUT operations.- Returns:
- builder
-
build
public ServiceTemplateMetadataArgs build()
-
-