@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateEnvironmentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateEnvironmentRequest() |
Modifier and Type | Method and Description |
---|---|
CreateEnvironmentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
A description of the environment that's being created and deployed.
|
String |
getEnvironmentAccountConnectionId()
The ID of the environment account connection that you provide if you're provisioning your environment
infrastructure resources to an environment account.
|
String |
getName()
The name of the environment.
|
String |
getProtonServiceRoleArn()
The Amazon Resource Name (ARN) of the AWS Proton service role that allows AWS Proton to make calls to other
services on your behalf.
|
String |
getSpec()
A link to a YAML formatted spec file that provides inputs as defined in the environment template bundle schema
file.
|
List<Tag> |
getTags()
Create tags for your environment.
|
String |
getTemplateMajorVersion()
The ID of the major version of the environment template.
|
String |
getTemplateMinorVersion()
The ID of the minor version of the environment template.
|
String |
getTemplateName()
The name of the environment template.
|
int |
hashCode() |
void |
setDescription(String description)
A description of the environment that's being created and deployed.
|
void |
setEnvironmentAccountConnectionId(String environmentAccountConnectionId)
The ID of the environment account connection that you provide if you're provisioning your environment
infrastructure resources to an environment account.
|
void |
setName(String name)
The name of the environment.
|
void |
setProtonServiceRoleArn(String protonServiceRoleArn)
The Amazon Resource Name (ARN) of the AWS Proton service role that allows AWS Proton to make calls to other
services on your behalf.
|
void |
setSpec(String spec)
A link to a YAML formatted spec file that provides inputs as defined in the environment template bundle schema
file.
|
void |
setTags(Collection<Tag> tags)
Create tags for your environment.
|
void |
setTemplateMajorVersion(String templateMajorVersion)
The ID of the major version of the environment template.
|
void |
setTemplateMinorVersion(String templateMinorVersion)
The ID of the minor version of the environment template.
|
void |
setTemplateName(String templateName)
The name of the environment template.
|
String |
toString()
Returns a string representation of this object.
|
CreateEnvironmentRequest |
withDescription(String description)
A description of the environment that's being created and deployed.
|
CreateEnvironmentRequest |
withEnvironmentAccountConnectionId(String environmentAccountConnectionId)
The ID of the environment account connection that you provide if you're provisioning your environment
infrastructure resources to an environment account.
|
CreateEnvironmentRequest |
withName(String name)
The name of the environment.
|
CreateEnvironmentRequest |
withProtonServiceRoleArn(String protonServiceRoleArn)
The Amazon Resource Name (ARN) of the AWS Proton service role that allows AWS Proton to make calls to other
services on your behalf.
|
CreateEnvironmentRequest |
withSpec(String spec)
A link to a YAML formatted spec file that provides inputs as defined in the environment template bundle schema
file.
|
CreateEnvironmentRequest |
withTags(Collection<Tag> tags)
Create tags for your environment.
|
CreateEnvironmentRequest |
withTags(Tag... tags)
Create tags for your environment.
|
CreateEnvironmentRequest |
withTemplateMajorVersion(String templateMajorVersion)
The ID of the major version of the environment template.
|
CreateEnvironmentRequest |
withTemplateMinorVersion(String templateMinorVersion)
The ID of the minor version of the environment template.
|
CreateEnvironmentRequest |
withTemplateName(String templateName)
The name of the environment template.
|
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 setDescription(String description)
A description of the environment that's being created and deployed.
description
- A description of the environment that's being created and deployed.public String getDescription()
A description of the environment that's being created and deployed.
public CreateEnvironmentRequest withDescription(String description)
A description of the environment that's being created and deployed.
description
- A description of the environment that's being created and deployed.public void setEnvironmentAccountConnectionId(String environmentAccountConnectionId)
The ID of the environment account connection that you provide if you're provisioning your environment
infrastructure resources to an environment account. You must include either the
environmentAccountConnectionId
or protonServiceRoleArn
parameter and value. For more
information, see Environment account
connections in the AWS Proton Administrator guide.
environmentAccountConnectionId
- The ID of the environment account connection that you provide if you're provisioning your environment
infrastructure resources to an environment account. You must include either the
environmentAccountConnectionId
or protonServiceRoleArn
parameter and value. For
more information, see Environment
account connections in the AWS Proton Administrator guide.public String getEnvironmentAccountConnectionId()
The ID of the environment account connection that you provide if you're provisioning your environment
infrastructure resources to an environment account. You must include either the
environmentAccountConnectionId
or protonServiceRoleArn
parameter and value. For more
information, see Environment account
connections in the AWS Proton Administrator guide.
environmentAccountConnectionId
or protonServiceRoleArn
parameter and value. For
more information, see Environment
account connections in the AWS Proton Administrator guide.public CreateEnvironmentRequest withEnvironmentAccountConnectionId(String environmentAccountConnectionId)
The ID of the environment account connection that you provide if you're provisioning your environment
infrastructure resources to an environment account. You must include either the
environmentAccountConnectionId
or protonServiceRoleArn
parameter and value. For more
information, see Environment account
connections in the AWS Proton Administrator guide.
environmentAccountConnectionId
- The ID of the environment account connection that you provide if you're provisioning your environment
infrastructure resources to an environment account. You must include either the
environmentAccountConnectionId
or protonServiceRoleArn
parameter and value. For
more information, see Environment
account connections in the AWS Proton Administrator guide.public void setName(String name)
The name of the environment.
name
- The name of the environment.public String getName()
The name of the environment.
public CreateEnvironmentRequest withName(String name)
The name of the environment.
name
- The name of the environment.public void setProtonServiceRoleArn(String protonServiceRoleArn)
The Amazon Resource Name (ARN) of the AWS Proton service role that allows AWS Proton to make calls to other
services on your behalf. You must include either the environmentAccountConnectionId
or
protonServiceRoleArn
parameter and value.
protonServiceRoleArn
- The Amazon Resource Name (ARN) of the AWS Proton service role that allows AWS Proton to make calls to
other services on your behalf. You must include either the environmentAccountConnectionId
or
protonServiceRoleArn
parameter and value.public String getProtonServiceRoleArn()
The Amazon Resource Name (ARN) of the AWS Proton service role that allows AWS Proton to make calls to other
services on your behalf. You must include either the environmentAccountConnectionId
or
protonServiceRoleArn
parameter and value.
environmentAccountConnectionId
or
protonServiceRoleArn
parameter and value.public CreateEnvironmentRequest withProtonServiceRoleArn(String protonServiceRoleArn)
The Amazon Resource Name (ARN) of the AWS Proton service role that allows AWS Proton to make calls to other
services on your behalf. You must include either the environmentAccountConnectionId
or
protonServiceRoleArn
parameter and value.
protonServiceRoleArn
- The Amazon Resource Name (ARN) of the AWS Proton service role that allows AWS Proton to make calls to
other services on your behalf. You must include either the environmentAccountConnectionId
or
protonServiceRoleArn
parameter and value.public void setSpec(String spec)
A link to a YAML formatted spec file that provides inputs as defined in the environment template bundle schema file. For more information, see Environments in the AWS Proton Administrator Guide.
spec
- A link to a YAML formatted spec file that provides inputs as defined in the environment template bundle
schema file. For more information, see Environments in the
AWS Proton Administrator Guide.public String getSpec()
A link to a YAML formatted spec file that provides inputs as defined in the environment template bundle schema file. For more information, see Environments in the AWS Proton Administrator Guide.
public CreateEnvironmentRequest withSpec(String spec)
A link to a YAML formatted spec file that provides inputs as defined in the environment template bundle schema file. For more information, see Environments in the AWS Proton Administrator Guide.
spec
- A link to a YAML formatted spec file that provides inputs as defined in the environment template bundle
schema file. For more information, see Environments in the
AWS Proton Administrator Guide.public List<Tag> getTags()
Create tags for your environment. For more information, see AWS Proton resources and tagging in the AWS Proton Administrator Guide or AWS Proton User Guide.
public void setTags(Collection<Tag> tags)
Create tags for your environment. For more information, see AWS Proton resources and tagging in the AWS Proton Administrator Guide or AWS Proton User Guide.
tags
- Create tags for your environment. For more information, see AWS Proton resources and tagging in the
AWS Proton Administrator
Guide or AWS Proton User
Guide.public CreateEnvironmentRequest withTags(Tag... tags)
Create tags for your environment. For more information, see AWS Proton resources and tagging in the AWS Proton Administrator Guide or AWS 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
- Create tags for your environment. For more information, see AWS Proton resources and tagging in the
AWS Proton Administrator
Guide or AWS Proton User
Guide.public CreateEnvironmentRequest withTags(Collection<Tag> tags)
Create tags for your environment. For more information, see AWS Proton resources and tagging in the AWS Proton Administrator Guide or AWS Proton User Guide.
tags
- Create tags for your environment. For more information, see AWS Proton resources and tagging in the
AWS Proton Administrator
Guide or AWS Proton User
Guide.public void setTemplateMajorVersion(String templateMajorVersion)
The ID of the major version of the environment template.
templateMajorVersion
- The ID of the major version of the environment template.public String getTemplateMajorVersion()
The ID of the major version of the environment template.
public CreateEnvironmentRequest withTemplateMajorVersion(String templateMajorVersion)
The ID of the major version of the environment template.
templateMajorVersion
- The ID of the major version of the environment template.public void setTemplateMinorVersion(String templateMinorVersion)
The ID of the minor version of the environment template.
templateMinorVersion
- The ID of the minor version of the environment template.public String getTemplateMinorVersion()
The ID of the minor version of the environment template.
public CreateEnvironmentRequest withTemplateMinorVersion(String templateMinorVersion)
The ID of the minor version of the environment template.
templateMinorVersion
- The ID of the minor version of the environment template.public void setTemplateName(String templateName)
The name of the environment template. For more information, see Environment Templates in the AWS Proton Administrator Guide.
templateName
- The name of the environment template. For more information, see Environment Templates in
the AWS Proton Administrator Guide.public String getTemplateName()
The name of the environment template. For more information, see Environment Templates in the AWS Proton Administrator Guide.
public CreateEnvironmentRequest withTemplateName(String templateName)
The name of the environment template. For more information, see Environment Templates in the AWS Proton Administrator Guide.
templateName
- The name of the environment template. For more information, see Environment Templates in
the AWS Proton Administrator Guide.public String toString()
toString
in class Object
Object.toString()
public CreateEnvironmentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()