Class ConnectionState.Builder
- java.lang.Object
-
- com.pulumi.gcp.integrationconnectors.inputs.ConnectionState.Builder
-
- Enclosing class:
- ConnectionState
public static final class ConnectionState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ConnectionState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ConnectionState defaults)
-
-
Method Detail
-
authConfig
public ConnectionState.Builder authConfig(@Nullable com.pulumi.core.Output<ConnectionAuthConfigArgs> authConfig)
- Parameters:
authConfig
- authConfig for the connection. Structure is documented below.- Returns:
- builder
-
authConfig
public ConnectionState.Builder authConfig(ConnectionAuthConfigArgs authConfig)
- Parameters:
authConfig
- authConfig for the connection. Structure is documented below.- Returns:
- builder
-
configVariables
public ConnectionState.Builder configVariables(@Nullable com.pulumi.core.Output<java.util.List<ConnectionConfigVariableArgs>> configVariables)
- Parameters:
configVariables
- Config Variables for the connection. Structure is documented below.- Returns:
- builder
-
configVariables
public ConnectionState.Builder configVariables(java.util.List<ConnectionConfigVariableArgs> configVariables)
- Parameters:
configVariables
- Config Variables for the connection. Structure is documented below.- Returns:
- builder
-
configVariables
public ConnectionState.Builder configVariables(ConnectionConfigVariableArgs... configVariables)
- Parameters:
configVariables
- Config Variables for the connection. Structure is documented below.- Returns:
- builder
-
connectionRevision
public ConnectionState.Builder connectionRevision(@Nullable com.pulumi.core.Output<java.lang.String> connectionRevision)
- Parameters:
connectionRevision
- Connection revision. This field is only updated when the connection is created or updated by User.- Returns:
- builder
-
connectionRevision
public ConnectionState.Builder connectionRevision(java.lang.String connectionRevision)
- Parameters:
connectionRevision
- Connection revision. This field is only updated when the connection is created or updated by User.- Returns:
- builder
-
connectorVersion
public ConnectionState.Builder connectorVersion(@Nullable com.pulumi.core.Output<java.lang.String> connectorVersion)
- Parameters:
connectorVersion
- connectorVersion of the Connector.- Returns:
- builder
-
connectorVersion
public ConnectionState.Builder connectorVersion(java.lang.String connectorVersion)
- Parameters:
connectorVersion
- connectorVersion of the Connector.- Returns:
- builder
-
connectorVersionInfraConfigs
public ConnectionState.Builder connectorVersionInfraConfigs(@Nullable com.pulumi.core.Output<java.util.List<ConnectionConnectorVersionInfraConfigArgs>> connectorVersionInfraConfigs)
- Parameters:
connectorVersionInfraConfigs
- This cofiguration provides infra configs like rate limit threshold which need to be configurable for every connector version. Structure is documented below.- Returns:
- builder
-
connectorVersionInfraConfigs
public ConnectionState.Builder connectorVersionInfraConfigs(java.util.List<ConnectionConnectorVersionInfraConfigArgs> connectorVersionInfraConfigs)
- Parameters:
connectorVersionInfraConfigs
- This cofiguration provides infra configs like rate limit threshold which need to be configurable for every connector version. Structure is documented below.- Returns:
- builder
-
connectorVersionInfraConfigs
public ConnectionState.Builder connectorVersionInfraConfigs(ConnectionConnectorVersionInfraConfigArgs... connectorVersionInfraConfigs)
- Parameters:
connectorVersionInfraConfigs
- This cofiguration provides infra configs like rate limit threshold which need to be configurable for every connector version. Structure is documented below.- Returns:
- builder
-
connectorVersionLaunchStage
public ConnectionState.Builder connectorVersionLaunchStage(@Nullable com.pulumi.core.Output<java.lang.String> connectorVersionLaunchStage)
- Parameters:
connectorVersionLaunchStage
- Flag to mark the version indicating the launch stage.- Returns:
- builder
-
connectorVersionLaunchStage
public ConnectionState.Builder connectorVersionLaunchStage(java.lang.String connectorVersionLaunchStage)
- Parameters:
connectorVersionLaunchStage
- Flag to mark the version indicating the launch stage.- Returns:
- builder
-
createTime
public ConnectionState.Builder createTime(@Nullable com.pulumi.core.Output<java.lang.String> createTime)
- Parameters:
createTime
- Time the Namespace was created in UTC.- Returns:
- builder
-
createTime
public ConnectionState.Builder createTime(java.lang.String createTime)
- Parameters:
createTime
- Time the Namespace was created in UTC.- Returns:
- builder
-
description
public ConnectionState.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description
- An arbitrary description for the Conection.- Returns:
- builder
-
description
public ConnectionState.Builder description(java.lang.String description)
- Parameters:
description
- An arbitrary description for the Conection.- Returns:
- builder
-
destinationConfigs
public ConnectionState.Builder destinationConfigs(@Nullable com.pulumi.core.Output<java.util.List<ConnectionDestinationConfigArgs>> destinationConfigs)
- Parameters:
destinationConfigs
- Define the Connectors target endpoint. Structure is documented below.- Returns:
- builder
-
destinationConfigs
public ConnectionState.Builder destinationConfigs(java.util.List<ConnectionDestinationConfigArgs> destinationConfigs)
- Parameters:
destinationConfigs
- Define the Connectors target endpoint. Structure is documented below.- Returns:
- builder
-
destinationConfigs
public ConnectionState.Builder destinationConfigs(ConnectionDestinationConfigArgs... destinationConfigs)
- Parameters:
destinationConfigs
- Define the Connectors target endpoint. Structure is documented below.- Returns:
- builder
-
effectiveLabels
public ConnectionState.Builder effectiveLabels(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> effectiveLabels)
- Parameters:
effectiveLabels
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.- Returns:
- builder
-
effectiveLabels
public ConnectionState.Builder effectiveLabels(java.util.Map<java.lang.String,java.lang.String> effectiveLabels)
- Parameters:
effectiveLabels
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.- Returns:
- builder
-
eventingConfig
public ConnectionState.Builder eventingConfig(@Nullable com.pulumi.core.Output<ConnectionEventingConfigArgs> eventingConfig)
- Parameters:
eventingConfig
- Eventing Configuration of a connection Structure is documented below.- Returns:
- builder
-
eventingConfig
public ConnectionState.Builder eventingConfig(ConnectionEventingConfigArgs eventingConfig)
- Parameters:
eventingConfig
- Eventing Configuration of a connection Structure is documented below.- Returns:
- builder
-
eventingEnablementType
public ConnectionState.Builder eventingEnablementType(@Nullable com.pulumi.core.Output<java.lang.String> eventingEnablementType)
- Parameters:
eventingEnablementType
- Eventing enablement type. Will be nil if eventing is not enabled. Possible values are: `EVENTING_AND_CONNECTION`, `ONLY_EVENTING`.- Returns:
- builder
-
eventingEnablementType
public ConnectionState.Builder eventingEnablementType(java.lang.String eventingEnablementType)
- Parameters:
eventingEnablementType
- Eventing enablement type. Will be nil if eventing is not enabled. Possible values are: `EVENTING_AND_CONNECTION`, `ONLY_EVENTING`.- Returns:
- builder
-
eventingRuntimeDatas
public ConnectionState.Builder eventingRuntimeDatas(@Nullable com.pulumi.core.Output<java.util.List<ConnectionEventingRuntimeDataArgs>> eventingRuntimeDatas)
- Parameters:
eventingRuntimeDatas
- Eventing Runtime Data. Structure is documented below.- Returns:
- builder
-
eventingRuntimeDatas
public ConnectionState.Builder eventingRuntimeDatas(java.util.List<ConnectionEventingRuntimeDataArgs> eventingRuntimeDatas)
- Parameters:
eventingRuntimeDatas
- Eventing Runtime Data. Structure is documented below.- Returns:
- builder
-
eventingRuntimeDatas
public ConnectionState.Builder eventingRuntimeDatas(ConnectionEventingRuntimeDataArgs... eventingRuntimeDatas)
- Parameters:
eventingRuntimeDatas
- Eventing Runtime Data. Structure is documented below.- Returns:
- builder
-
labels
public ConnectionState.Builder labels(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> labels)
- Parameters:
labels
- Resource labels to represent user provided metadata. **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 ConnectionState.Builder labels(java.util.Map<java.lang.String,java.lang.String> labels)
- Parameters:
labels
- Resource labels to represent user provided metadata. **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
-
location
public ConnectionState.Builder location(@Nullable com.pulumi.core.Output<java.lang.String> location)
- Parameters:
location
- Location in which Connection needs to be created.- Returns:
- builder
-
location
public ConnectionState.Builder location(java.lang.String location)
- Parameters:
location
- Location in which Connection needs to be created.- Returns:
- builder
-
lockConfig
public ConnectionState.Builder lockConfig(@Nullable com.pulumi.core.Output<ConnectionLockConfigArgs> lockConfig)
- Parameters:
lockConfig
- Determines whether or no a connection is locked. If locked, a reason must be specified. Structure is documented below.- Returns:
- builder
-
lockConfig
public ConnectionState.Builder lockConfig(ConnectionLockConfigArgs lockConfig)
- Parameters:
lockConfig
- Determines whether or no a connection is locked. If locked, a reason must be specified. Structure is documented below.- Returns:
- builder
-
logConfig
public ConnectionState.Builder logConfig(@Nullable com.pulumi.core.Output<ConnectionLogConfigArgs> logConfig)
- Parameters:
logConfig
- Log configuration for the connection. Structure is documented below.- Returns:
- builder
-
logConfig
public ConnectionState.Builder logConfig(ConnectionLogConfigArgs logConfig)
- Parameters:
logConfig
- Log configuration for the connection. Structure is documented below.- Returns:
- builder
-
name
public ConnectionState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- Name of Connection needs to be created. ***- Returns:
- builder
-
name
public ConnectionState.Builder name(java.lang.String name)
- Parameters:
name
- Name of Connection needs to be created. ***- Returns:
- builder
-
nodeConfig
public ConnectionState.Builder nodeConfig(@Nullable com.pulumi.core.Output<ConnectionNodeConfigArgs> nodeConfig)
- Parameters:
nodeConfig
- Node configuration for the connection. Structure is documented below.- Returns:
- builder
-
nodeConfig
public ConnectionState.Builder nodeConfig(ConnectionNodeConfigArgs nodeConfig)
- Parameters:
nodeConfig
- Node configuration for the connection. Structure is documented below.- Returns:
- builder
-
project
public ConnectionState.Builder project(@Nullable com.pulumi.core.Output<java.lang.String> project)
- Parameters:
project
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.- Returns:
- builder
-
project
public ConnectionState.Builder project(java.lang.String project)
- Parameters:
project
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.- Returns:
- builder
-
pulumiLabels
public ConnectionState.Builder pulumiLabels(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> pulumiLabels)
- Parameters:
pulumiLabels
- The combination of labels configured directly on the resource and default labels configured on the provider.- Returns:
- builder
-
pulumiLabels
public ConnectionState.Builder pulumiLabels(java.util.Map<java.lang.String,java.lang.String> pulumiLabels)
- Parameters:
pulumiLabels
- The combination of labels configured directly on the resource and default labels configured on the provider.- Returns:
- builder
-
serviceAccount
public ConnectionState.Builder serviceAccount(@Nullable com.pulumi.core.Output<java.lang.String> serviceAccount)
- Parameters:
serviceAccount
- Service account needed for runtime plane to access Google Cloud resources.- Returns:
- builder
-
serviceAccount
public ConnectionState.Builder serviceAccount(java.lang.String serviceAccount)
- Parameters:
serviceAccount
- Service account needed for runtime plane to access Google Cloud resources.- Returns:
- builder
-
serviceDirectory
public ConnectionState.Builder serviceDirectory(@Nullable com.pulumi.core.Output<java.lang.String> serviceDirectory)
- Parameters:
serviceDirectory
- The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address. e.g. "projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors"- Returns:
- builder
-
serviceDirectory
public ConnectionState.Builder serviceDirectory(java.lang.String serviceDirectory)
- Parameters:
serviceDirectory
- The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address. e.g. "projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors"- Returns:
- builder
-
sslConfig
public ConnectionState.Builder sslConfig(@Nullable com.pulumi.core.Output<ConnectionSslConfigArgs> sslConfig)
- Parameters:
sslConfig
- SSL Configuration of a connection Structure is documented below.- Returns:
- builder
-
sslConfig
public ConnectionState.Builder sslConfig(ConnectionSslConfigArgs sslConfig)
- Parameters:
sslConfig
- SSL Configuration of a connection Structure is documented below.- Returns:
- builder
-
statuses
public ConnectionState.Builder statuses(@Nullable com.pulumi.core.Output<java.util.List<ConnectionStatusArgs>> statuses)
- Parameters:
statuses
- (Output) Current status of eventing. Structure is documented below.- Returns:
- builder
-
statuses
public ConnectionState.Builder statuses(java.util.List<ConnectionStatusArgs> statuses)
- Parameters:
statuses
- (Output) Current status of eventing. Structure is documented below.- Returns:
- builder
-
statuses
public ConnectionState.Builder statuses(ConnectionStatusArgs... statuses)
- Parameters:
statuses
- (Output) Current status of eventing. Structure is documented below.- Returns:
- builder
-
subscriptionType
public ConnectionState.Builder subscriptionType(@Nullable com.pulumi.core.Output<java.lang.String> subscriptionType)
- Parameters:
subscriptionType
- This subscription type enum states the subscription type of the project.- Returns:
- builder
-
subscriptionType
public ConnectionState.Builder subscriptionType(java.lang.String subscriptionType)
- Parameters:
subscriptionType
- This subscription type enum states the subscription type of the project.- Returns:
- builder
-
suspended
public ConnectionState.Builder suspended(@Nullable com.pulumi.core.Output<java.lang.Boolean> suspended)
- Parameters:
suspended
- Suspended indicates if a user has suspended a connection or not.- Returns:
- builder
-
suspended
public ConnectionState.Builder suspended(java.lang.Boolean suspended)
- Parameters:
suspended
- Suspended indicates if a user has suspended a connection or not.- Returns:
- builder
-
updateTime
public ConnectionState.Builder updateTime(@Nullable com.pulumi.core.Output<java.lang.String> updateTime)
- Parameters:
updateTime
- Time the Namespace was updated in UTC.- Returns:
- builder
-
updateTime
public ConnectionState.Builder updateTime(java.lang.String updateTime)
- Parameters:
updateTime
- Time the Namespace was updated in UTC.- Returns:
- builder
-
build
public ConnectionState build()
-
-