Interface UpdateComponentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateComponentRequest.Builder,
,UpdateComponentRequest> ProtonRequest.Builder
,SdkBuilder<UpdateComponentRequest.Builder,
,UpdateComponentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateComponentRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) The client token for the updated component.deploymentType
(String deploymentType) The deployment type.deploymentType
(ComponentDeploymentUpdateType deploymentType) The deployment type.description
(String description) An optional customer-provided description of the component.The name of the component to update.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serviceInstanceName
(String serviceInstanceName) The name of the service instance that you want to attach this component to.serviceName
(String serviceName) The name of the service thatserviceInstanceName
is associated with.serviceSpec
(String serviceSpec) The service spec that you want the component to use to access service inputs.templateFile
(String templateFile) A path to the Infrastructure as Code (IaC) file describing infrastructure that a custom component provisions.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.proton.model.ProtonRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
clientToken
The client token for the updated component.
- Parameters:
clientToken
- The client token for the updated component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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/ortype
that you provide. Only requested parameters are updated.
- Parameters:
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/ortype
that you provide. Only requested parameters are updated.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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/ortype
that you provide. Only requested parameters are updated.
- Parameters:
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/ortype
that you provide. Only requested parameters are updated.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
description
An optional customer-provided description of the component.
- Parameters:
description
- An optional customer-provided description of the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the component to update.
- Parameters:
name
- The name of the component to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
andserviceName
or for neither of them.- Parameters:
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 bothserviceInstanceName
andserviceName
or for neither of them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 bothserviceInstanceName
andserviceName
or for neither of them.- Parameters:
serviceName
- The name of the service thatserviceInstanceName
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 bothserviceInstanceName
andserviceName
or for neither of them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateComponentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateComponentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-