public static interface UpdateComponentRequest.Builder extends ProtonRequest.Builder, SdkPojo, CopyableBuilder<UpdateComponentRequest.Builder,UpdateComponentRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateComponentRequest.Builder |
clientToken(String clientToken)
The client token for the updated component.
|
UpdateComponentRequest.Builder |
deploymentType(ComponentDeploymentUpdateType deploymentType)
The deployment type.
|
UpdateComponentRequest.Builder |
deploymentType(String deploymentType)
The deployment type.
|
UpdateComponentRequest.Builder |
description(String description)
An optional customer-provided description of the component.
|
UpdateComponentRequest.Builder |
name(String name)
The name of the component to update.
|
UpdateComponentRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateComponentRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdateComponentRequest.Builder |
serviceInstanceName(String serviceInstanceName)
The name of the service instance that you want to attach this component to.
|
UpdateComponentRequest.Builder |
serviceName(String serviceName)
The name of the service that
serviceInstanceName is associated with. |
UpdateComponentRequest.Builder |
serviceSpec(String serviceSpec)
The service spec that you want the component to use to access service inputs.
|
UpdateComponentRequest.Builder |
templateFile(String templateFile)
A path to the Infrastructure as Code (IaC) file describing infrastructure that a custom component provisions.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateComponentRequest.Builder clientToken(String clientToken)
The client token for the updated component.
clientToken - The client token for the updated component.UpdateComponentRequest.Builder deploymentType(String deploymentType)
The deployment type. It defines the mode for updating a component, as follows:
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated. You can
only specify description in this mode.
CURRENT_VERSION
In this mode, the component is deployed and updated with the new serviceSpec,
templateSource, and/or type that you provide. Only requested parameters are
updated.
deploymentType - The deployment type. It defines the mode for updating a component, as follows:
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
You can only specify description in this mode.
CURRENT_VERSION
In this mode, the component is deployed and updated with the new serviceSpec,
templateSource, and/or type that you provide. Only requested parameters are
updated.
ComponentDeploymentUpdateType,
ComponentDeploymentUpdateTypeUpdateComponentRequest.Builder deploymentType(ComponentDeploymentUpdateType deploymentType)
The deployment type. It defines the mode for updating a component, as follows:
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated. You can
only specify description in this mode.
CURRENT_VERSION
In this mode, the component is deployed and updated with the new serviceSpec,
templateSource, and/or type that you provide. Only requested parameters are
updated.
deploymentType - The deployment type. It defines the mode for updating a component, as follows:
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
You can only specify description in this mode.
CURRENT_VERSION
In this mode, the component is deployed and updated with the new serviceSpec,
templateSource, and/or type that you provide. Only requested parameters are
updated.
ComponentDeploymentUpdateType,
ComponentDeploymentUpdateTypeUpdateComponentRequest.Builder description(String description)
An optional customer-provided description of the component.
description - An optional customer-provided description of the component.UpdateComponentRequest.Builder name(String name)
The name of the component to update.
name - The name of the component to update.UpdateComponentRequest.Builder serviceInstanceName(String serviceInstanceName)
The name of the service instance that you want to attach this component to. Don't specify to keep the
component's current service instance attachment. Specify an empty string to detach the component from the
service instance it's attached to. Specify non-empty values for both serviceInstanceName and
serviceName or for neither of them.
serviceInstanceName - The name of the service instance that you want to attach this component to. Don't specify to keep the
component's current service instance attachment. Specify an empty string to detach the component from
the service instance it's attached to. Specify non-empty values for both
serviceInstanceName and serviceName or for neither of them.UpdateComponentRequest.Builder serviceName(String serviceName)
The name of the service that serviceInstanceName is associated with. Don't specify to keep the
component's current service instance attachment. Specify an empty string to detach the component from the
service instance it's attached to. Specify non-empty values for both serviceInstanceName and
serviceName or for neither of them.
serviceName - The name of the service that serviceInstanceName is associated with. Don't specify to
keep the component's current service instance attachment. Specify an empty string to detach the
component from the service instance it's attached to. Specify non-empty values for both
serviceInstanceName and serviceName or for neither of them.UpdateComponentRequest.Builder serviceSpec(String serviceSpec)
The service spec that you want the component to use to access service inputs. Set this only when the component is attached to a service instance.
serviceSpec - The service spec that you want the component to use to access service inputs. Set this only when the
component is attached to a service instance.UpdateComponentRequest.Builder templateFile(String templateFile)
A path to the Infrastructure as Code (IaC) file describing infrastructure that a custom component provisions.
Components support a single IaC file, even if you use Terraform as your template language.
templateFile - A path to the Infrastructure as Code (IaC) file describing infrastructure that a custom component
provisions. Components support a single IaC file, even if you use Terraform as your template language.
UpdateComponentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateComponentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.