@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateComponentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateComponentRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateComponentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
The client token for the updated component.
|
String |
getDeploymentType()
The deployment type.
|
String |
getDescription()
An optional customer-provided description of the component.
|
String |
getName()
The name of the component to update.
|
String |
getServiceInstanceName()
The name of the service instance that you want to attach this component to.
|
String |
getServiceName()
The name of the service that
serviceInstanceName is associated with. |
String |
getServiceSpec()
The service spec that you want the component to use to access service inputs.
|
String |
getTemplateFile()
A path to the Infrastructure as Code (IaC) file describing infrastructure that a custom component provisions.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
The client token for the updated component.
|
void |
setDeploymentType(String deploymentType)
The deployment type.
|
void |
setDescription(String description)
An optional customer-provided description of the component.
|
void |
setName(String name)
The name of the component to update.
|
void |
setServiceInstanceName(String serviceInstanceName)
The name of the service instance that you want to attach this component to.
|
void |
setServiceName(String serviceName)
The name of the service that
serviceInstanceName is associated with. |
void |
setServiceSpec(String serviceSpec)
The service spec that you want the component to use to access service inputs.
|
void |
setTemplateFile(String templateFile)
A path to the Infrastructure as Code (IaC) file describing infrastructure that a custom component provisions.
|
String |
toString()
Returns a string representation of this object.
|
UpdateComponentRequest |
withClientToken(String clientToken)
The client token for the updated component.
|
UpdateComponentRequest |
withDeploymentType(ComponentDeploymentUpdateType deploymentType)
The deployment type.
|
UpdateComponentRequest |
withDeploymentType(String deploymentType)
The deployment type.
|
UpdateComponentRequest |
withDescription(String description)
An optional customer-provided description of the component.
|
UpdateComponentRequest |
withName(String name)
The name of the component to update.
|
UpdateComponentRequest |
withServiceInstanceName(String serviceInstanceName)
The name of the service instance that you want to attach this component to.
|
UpdateComponentRequest |
withServiceName(String serviceName)
The name of the service that
serviceInstanceName is associated with. |
UpdateComponentRequest |
withServiceSpec(String serviceSpec)
The service spec that you want the component to use to access service inputs.
|
UpdateComponentRequest |
withTemplateFile(String templateFile)
A path to the Infrastructure as Code (IaC) file describing infrastructure that a custom component provisions.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClientToken(String clientToken)
The client token for the updated component.
clientToken
- The client token for the updated component.public String getClientToken()
The client token for the updated component.
public UpdateComponentRequest withClientToken(String clientToken)
The client token for the updated component.
clientToken
- The client token for the updated component.public void setDeploymentType(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
public String getDeploymentType()
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.
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
public UpdateComponentRequest withDeploymentType(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
public UpdateComponentRequest withDeploymentType(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
public void setDescription(String description)
An optional customer-provided description of the component.
description
- An optional customer-provided description of the component.public String getDescription()
An optional customer-provided description of the component.
public UpdateComponentRequest withDescription(String description)
An optional customer-provided description of the component.
description
- An optional customer-provided description of the component.public void setName(String name)
The name of the component to update.
name
- The name of the component to update.public String getName()
The name of the component to update.
public UpdateComponentRequest withName(String name)
The name of the component to update.
name
- The name of the component to update.public void setServiceInstanceName(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.public String getServiceInstanceName()
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 UpdateComponentRequest withServiceInstanceName(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.public void setServiceName(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.public String getServiceName()
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 UpdateComponentRequest withServiceName(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.public void setServiceSpec(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.public String getServiceSpec()
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 UpdateComponentRequest withServiceSpec(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.public void setTemplateFile(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.
public String getTemplateFile()
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 withTemplateFile(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.
public String toString()
toString
in class Object
Object.toString()
public UpdateComponentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()