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 thatserviceInstanceNameis 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.proton.model.ProtonRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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:
-
NONEIn this mode, a deployment doesn't occur. Only the requested metadata parameters are updated. You can only specify
descriptionin this mode. -
CURRENT_VERSIONIn this mode, the component is deployed and updated with the new
serviceSpec,templateSource, and/ortypethat you provide. Only requested parameters are updated.
- Parameters:
deploymentType- The deployment type. It defines the mode for updating a component, as follows:-
NONEIn this mode, a deployment doesn't occur. Only the requested metadata parameters are updated. You can only specify
descriptionin this mode. -
CURRENT_VERSIONIn this mode, the component is deployed and updated with the new
serviceSpec,templateSource, and/ortypethat 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:
-
NONEIn this mode, a deployment doesn't occur. Only the requested metadata parameters are updated. You can only specify
descriptionin this mode. -
CURRENT_VERSIONIn this mode, the component is deployed and updated with the new
serviceSpec,templateSource, and/ortypethat you provide. Only requested parameters are updated.
- Parameters:
deploymentType- The deployment type. It defines the mode for updating a component, as follows:-
NONEIn this mode, a deployment doesn't occur. Only the requested metadata parameters are updated. You can only specify
descriptionin this mode. -
CURRENT_VERSIONIn this mode, the component is deployed and updated with the new
serviceSpec,templateSource, and/ortypethat 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
serviceInstanceNameandserviceNameor 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 bothserviceInstanceNameandserviceNameor 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
serviceInstanceNameis 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 bothserviceInstanceNameandserviceNameor for neither of them.- Parameters:
serviceName- The name of the service thatserviceInstanceNameis 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 bothserviceInstanceNameandserviceNameor 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-