@Generated(value="software.amazon.awssdk:codegen") public final class UpdateComponentRequest extends ProtonRequest implements ToCopyableBuilder<UpdateComponentRequest.Builder,UpdateComponentRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateComponentRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateComponentRequest.Builder |
builder() |
String |
clientToken()
The client token for the updated component.
|
ComponentDeploymentUpdateType |
deploymentType()
The deployment type.
|
String |
deploymentTypeAsString()
The deployment type.
|
String |
description()
An optional customer-provided description of the component.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the component to update.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateComponentRequest.Builder> |
serializableBuilderClass() |
String |
serviceInstanceName()
The name of the service instance that you want to attach this component to.
|
String |
serviceName()
The name of the service that
serviceInstanceName is associated with. |
String |
serviceSpec()
The service spec that you want the component to use to access service inputs.
|
String |
templateFile()
A path to the Infrastructure as Code (IaC) file describing infrastructure that a custom component provisions.
|
UpdateComponentRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String clientToken()
The client token for the updated component.
public final 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.
If the service returns an enum value that is not available in the current SDK version, deploymentType
will return ComponentDeploymentUpdateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service
is available from deploymentTypeAsString().
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.
ComponentDeploymentUpdateTypepublic final String deploymentTypeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, deploymentType
will return ComponentDeploymentUpdateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service
is available from deploymentTypeAsString().
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.
ComponentDeploymentUpdateTypepublic final String description()
An optional customer-provided description of the component.
public final String name()
The name of the component to update.
public final 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 and
serviceName or for neither of them.public final 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.
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.public final 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.
public final 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.
Components support a single IaC file, even if you use Terraform as your template language.
public UpdateComponentRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateComponentRequest.Builder,UpdateComponentRequest>toBuilder in class ProtonRequestpublic static UpdateComponentRequest.Builder builder()
public static Class<? extends UpdateComponentRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.