Package com.pulumi.gcp.cloudrun.inputs
Class ServiceTemplateSpecArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.cloudrun.inputs.ServiceTemplateSpecArgs.Builder
-
- Enclosing class:
- ServiceTemplateSpecArgs
public static final class ServiceTemplateSpecArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ServiceTemplateSpecArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ServiceTemplateSpecArgs defaults)
-
-
Method Detail
-
containerConcurrency
public ServiceTemplateSpecArgs.Builder containerConcurrency(@Nullable com.pulumi.core.Output<java.lang.Integer> containerConcurrency)
- Parameters:
containerConcurrency
- ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container of the Revision. Values are:- Returns:
- builder
-
containerConcurrency
public ServiceTemplateSpecArgs.Builder containerConcurrency(java.lang.Integer containerConcurrency)
- Parameters:
containerConcurrency
- ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container of the Revision. Values are:- Returns:
- builder
-
containers
public ServiceTemplateSpecArgs.Builder containers(@Nullable com.pulumi.core.Output<java.util.List<ServiceTemplateSpecContainerArgs>> containers)
- Parameters:
containers
- Containers defines the unit of execution for this Revision. Structure is documented below.- Returns:
- builder
-
containers
public ServiceTemplateSpecArgs.Builder containers(java.util.List<ServiceTemplateSpecContainerArgs> containers)
- Parameters:
containers
- Containers defines the unit of execution for this Revision. Structure is documented below.- Returns:
- builder
-
containers
public ServiceTemplateSpecArgs.Builder containers(ServiceTemplateSpecContainerArgs... containers)
- Parameters:
containers
- Containers defines the unit of execution for this Revision. Structure is documented below.- Returns:
- builder
-
serviceAccountName
public ServiceTemplateSpecArgs.Builder serviceAccountName(@Nullable com.pulumi.core.Output<java.lang.String> serviceAccountName)
- Parameters:
serviceAccountName
- Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.- Returns:
- builder
-
serviceAccountName
public ServiceTemplateSpecArgs.Builder serviceAccountName(java.lang.String serviceAccountName)
- Parameters:
serviceAccountName
- Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.- Returns:
- builder
-
servingState
@Deprecated public ServiceTemplateSpecArgs.Builder servingState(@Nullable com.pulumi.core.Output<java.lang.String> servingState)
Deprecated.`serving_state` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.- Parameters:
servingState
- (Output, Deprecated) ServingState holds a value describing the state the resources are in for this Revision. It is expected that the system will manipulate this based on routability and load. > **Warning:** `serving_state` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.- Returns:
- builder
-
servingState
@Deprecated public ServiceTemplateSpecArgs.Builder servingState(java.lang.String servingState)
Deprecated.`serving_state` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.- Parameters:
servingState
- (Output, Deprecated) ServingState holds a value describing the state the resources are in for this Revision. It is expected that the system will manipulate this based on routability and load. > **Warning:** `serving_state` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.- Returns:
- builder
-
timeoutSeconds
public ServiceTemplateSpecArgs.Builder timeoutSeconds(@Nullable com.pulumi.core.Output<java.lang.Integer> timeoutSeconds)
- Parameters:
timeoutSeconds
- TimeoutSeconds holds the max duration the instance is allowed for responding to a request.- Returns:
- builder
-
timeoutSeconds
public ServiceTemplateSpecArgs.Builder timeoutSeconds(java.lang.Integer timeoutSeconds)
- Parameters:
timeoutSeconds
- TimeoutSeconds holds the max duration the instance is allowed for responding to a request.- Returns:
- builder
-
volumes
public ServiceTemplateSpecArgs.Builder volumes(@Nullable com.pulumi.core.Output<java.util.List<ServiceTemplateSpecVolumeArgs>> volumes)
- Parameters:
volumes
- Volume represents a named volume in a container. Structure is documented below.- Returns:
- builder
-
volumes
public ServiceTemplateSpecArgs.Builder volumes(java.util.List<ServiceTemplateSpecVolumeArgs> volumes)
- Parameters:
volumes
- Volume represents a named volume in a container. Structure is documented below.- Returns:
- builder
-
volumes
public ServiceTemplateSpecArgs.Builder volumes(ServiceTemplateSpecVolumeArgs... volumes)
- Parameters:
volumes
- Volume represents a named volume in a container. Structure is documented below.- Returns:
- builder
-
build
public ServiceTemplateSpecArgs build()
-
-