@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateComponentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateComponentRequest() |
Modifier and Type | Method and Description |
---|---|
CreateComponentRequest |
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 created component.
|
String |
getDescription()
An optional customer-provided description of the component.
|
String |
getEnvironmentName()
The name of the Proton environment that you want to associate this component with.
|
String |
getManifest()
A path to a manifest file that lists the Infrastructure as Code (IaC) file, template language, and rendering
engine for infrastructure that a custom component provisions.
|
String |
getName()
The customer-provided name of the component.
|
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.
|
List<Tag> |
getTags()
An optional list of metadata items that you can associate with the Proton component.
|
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 created component.
|
void |
setDescription(String description)
An optional customer-provided description of the component.
|
void |
setEnvironmentName(String environmentName)
The name of the Proton environment that you want to associate this component with.
|
void |
setManifest(String manifest)
A path to a manifest file that lists the Infrastructure as Code (IaC) file, template language, and rendering
engine for infrastructure that a custom component provisions.
|
void |
setName(String name)
The customer-provided name of the component.
|
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 |
setTags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton component.
|
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.
|
CreateComponentRequest |
withClientToken(String clientToken)
The client token for the created component.
|
CreateComponentRequest |
withDescription(String description)
An optional customer-provided description of the component.
|
CreateComponentRequest |
withEnvironmentName(String environmentName)
The name of the Proton environment that you want to associate this component with.
|
CreateComponentRequest |
withManifest(String manifest)
A path to a manifest file that lists the Infrastructure as Code (IaC) file, template language, and rendering
engine for infrastructure that a custom component provisions.
|
CreateComponentRequest |
withName(String name)
The customer-provided name of the component.
|
CreateComponentRequest |
withServiceInstanceName(String serviceInstanceName)
The name of the service instance that you want to attach this component to.
|
CreateComponentRequest |
withServiceName(String serviceName)
The name of the service that
serviceInstanceName is associated with. |
CreateComponentRequest |
withServiceSpec(String serviceSpec)
The service spec that you want the component to use to access service inputs.
|
CreateComponentRequest |
withTags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton component.
|
CreateComponentRequest |
withTags(Tag... tags)
An optional list of metadata items that you can associate with the Proton component.
|
CreateComponentRequest |
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 created component.
clientToken
- The client token for the created component.public String getClientToken()
The client token for the created component.
public CreateComponentRequest withClientToken(String clientToken)
The client token for the created component.
clientToken
- The client token for the created component.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 CreateComponentRequest withDescription(String description)
An optional customer-provided description of the component.
description
- An optional customer-provided description of the component.public void setEnvironmentName(String environmentName)
The name of the Proton environment that you want to associate this component with. You must specify this when you
don't specify serviceInstanceName
and serviceName
.
environmentName
- The name of the Proton environment that you want to associate this component with. You must specify this
when you don't specify serviceInstanceName
and serviceName
.public String getEnvironmentName()
The name of the Proton environment that you want to associate this component with. You must specify this when you
don't specify serviceInstanceName
and serviceName
.
serviceInstanceName
and serviceName
.public CreateComponentRequest withEnvironmentName(String environmentName)
The name of the Proton environment that you want to associate this component with. You must specify this when you
don't specify serviceInstanceName
and serviceName
.
environmentName
- The name of the Proton environment that you want to associate this component with. You must specify this
when you don't specify serviceInstanceName
and serviceName
.public void setManifest(String manifest)
A path to a manifest file that lists the Infrastructure as Code (IaC) file, template language, and rendering engine for infrastructure that a custom component provisions.
manifest
- A path to a manifest file that lists the Infrastructure as Code (IaC) file, template language, and
rendering engine for infrastructure that a custom component provisions.public String getManifest()
A path to a manifest file that lists the Infrastructure as Code (IaC) file, template language, and rendering engine for infrastructure that a custom component provisions.
public CreateComponentRequest withManifest(String manifest)
A path to a manifest file that lists the Infrastructure as Code (IaC) file, template language, and rendering engine for infrastructure that a custom component provisions.
manifest
- A path to a manifest file that lists the Infrastructure as Code (IaC) file, template language, and
rendering engine for infrastructure that a custom component provisions.public void setName(String name)
The customer-provided name of the component.
name
- The customer-provided name of the component.public String getName()
The customer-provided name of the component.
public CreateComponentRequest withName(String name)
The customer-provided name of the component.
name
- The customer-provided name of the component.public void setServiceInstanceName(String serviceInstanceName)
The name of the service instance that you want to attach this component to. If you don't specify this, the
component isn't attached to any service instance. Specify both serviceInstanceName
and
serviceName
or neither of them.
serviceInstanceName
- The name of the service instance that you want to attach this component to. If you don't specify this, the
component isn't attached to any service instance. Specify both serviceInstanceName
and
serviceName
or neither of them.public String getServiceInstanceName()
The name of the service instance that you want to attach this component to. If you don't specify this, the
component isn't attached to any service instance. Specify both serviceInstanceName
and
serviceName
or neither of them.
serviceInstanceName
and
serviceName
or neither of them.public CreateComponentRequest withServiceInstanceName(String serviceInstanceName)
The name of the service instance that you want to attach this component to. If you don't specify this, the
component isn't attached to any service instance. Specify both serviceInstanceName
and
serviceName
or neither of them.
serviceInstanceName
- The name of the service instance that you want to attach this component to. If you don't specify this, the
component isn't attached to any service instance. Specify both serviceInstanceName
and
serviceName
or neither of them.public void setServiceName(String serviceName)
The name of the service that serviceInstanceName
is associated with. If you don't specify this, the
component isn't attached to any service instance. Specify both serviceInstanceName
and
serviceName
or neither of them.
serviceName
- The name of the service that serviceInstanceName
is associated with. If you don't specify
this, the component isn't attached to any service instance. Specify both serviceInstanceName
and serviceName
or neither of them.public String getServiceName()
The name of the service that serviceInstanceName
is associated with. If you don't specify this, the
component isn't attached to any service instance. Specify both serviceInstanceName
and
serviceName
or neither of them.
serviceInstanceName
is associated with. If you don't specify
this, the component isn't attached to any service instance. Specify both serviceInstanceName
and serviceName
or neither of them.public CreateComponentRequest withServiceName(String serviceName)
The name of the service that serviceInstanceName
is associated with. If you don't specify this, the
component isn't attached to any service instance. Specify both serviceInstanceName
and
serviceName
or neither of them.
serviceName
- The name of the service that serviceInstanceName
is associated with. If you don't specify
this, the component isn't attached to any service instance. Specify both serviceInstanceName
and serviceName
or 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 you attach the component to a service instance.
serviceSpec
- The service spec that you want the component to use to access service inputs. Set this only when you
attach the component 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 you attach the component to a service instance.
public CreateComponentRequest withServiceSpec(String serviceSpec)
The service spec that you want the component to use to access service inputs. Set this only when you attach the component to a service instance.
serviceSpec
- The service spec that you want the component to use to access service inputs. Set this only when you
attach the component to a service instance.public List<Tag> getTags()
An optional list of metadata items that you can associate with the Proton component. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
For more information, see Proton resources and tagging in the Proton User Guide.
public void setTags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton component. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
tags
- An optional list of metadata items that you can associate with the Proton component. A tag is a key-value
pair.
For more information, see Proton resources and tagging in the Proton User Guide.
public CreateComponentRequest withTags(Tag... tags)
An optional list of metadata items that you can associate with the Proton component. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- An optional list of metadata items that you can associate with the Proton component. A tag is a key-value
pair.
For more information, see Proton resources and tagging in the Proton User Guide.
public CreateComponentRequest withTags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton component. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
tags
- An optional list of metadata items that you can associate with the Proton component. A tag is a key-value
pair.
For more information, see Proton resources and tagging in the Proton User Guide.
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 CreateComponentRequest 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 CreateComponentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()