@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 Proton service role that allows Proton to make calls to other services on
your behalf.
|
RepositoryBranchInput |
getProvisioningRepository()
The repository that you provide with pull request provisioning.
|
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 major version of the environment template.
|
String |
getTemplateMinorVersion()
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 Proton service role that allows Proton to make calls to other services on
your behalf.
|
void |
setProvisioningRepository(RepositoryBranchInput provisioningRepository)
The repository that you provide with pull request provisioning.
|
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 major version of the environment template.
|
void |
setTemplateMinorVersion(String templateMinorVersion)
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 Proton service role that allows Proton to make calls to other services on
your behalf.
|
CreateEnvironmentRequest |
withProvisioningRepository(RepositoryBranchInput provisioningRepository)
The repository that you provide with pull request provisioning.
|
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 major version of the environment template.
|
CreateEnvironmentRequest |
withTemplateMinorVersion(String templateMinorVersion)
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 and omit the
provisioningRepository
parameter and values. For more information, see Environment account
connections in the 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 and
omit the provisioningRepository
parameter and values. For more information, see Environment
account connections in the 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 and omit the
provisioningRepository
parameter and values. For more information, see Environment account
connections in the Proton Administrator guide.
environmentAccountConnectionId
or protonServiceRoleArn
parameter and value and
omit the provisioningRepository
parameter and values. For more information, see Environment
account connections in the 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 and omit the
provisioningRepository
parameter and values. For more information, see Environment account
connections in the 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 and
omit the provisioningRepository
parameter and values. For more information, see Environment
account connections in the 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 Proton service role that allows Proton to make calls to other services on
your behalf. You must include either the environmentAccountConnectionId
or
protonServiceRoleArn
parameter and value and omit the provisioningRepository
parameter
when you use standard provisioning.
protonServiceRoleArn
- The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other
services on your behalf. You must include either the environmentAccountConnectionId
or
protonServiceRoleArn
parameter and value and omit the provisioningRepository
parameter when you use standard provisioning.public String getProtonServiceRoleArn()
The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on
your behalf. You must include either the environmentAccountConnectionId
or
protonServiceRoleArn
parameter and value and omit the provisioningRepository
parameter
when you use standard provisioning.
environmentAccountConnectionId
or
protonServiceRoleArn
parameter and value and omit the provisioningRepository
parameter when you use standard provisioning.public CreateEnvironmentRequest withProtonServiceRoleArn(String protonServiceRoleArn)
The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on
your behalf. You must include either the environmentAccountConnectionId
or
protonServiceRoleArn
parameter and value and omit the provisioningRepository
parameter
when you use standard provisioning.
protonServiceRoleArn
- The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other
services on your behalf. You must include either the environmentAccountConnectionId
or
protonServiceRoleArn
parameter and value and omit the provisioningRepository
parameter when you use standard provisioning.public void setProvisioningRepository(RepositoryBranchInput provisioningRepository)
The repository that you provide with pull request provisioning. If you provide this parameter, you must omit the
environmentAccountConnectionId
and protonServiceRoleArn
parameters.
Provisioning by pull request is currently in feature preview and is only usable with Terraform based Proton Templates. To learn more about Amazon Web Services Feature Preview terms, see section 2 on Beta and Previews.
provisioningRepository
- The repository that you provide with pull request provisioning. If you provide this parameter, you must
omit the environmentAccountConnectionId
and protonServiceRoleArn
parameters.
Provisioning by pull request is currently in feature preview and is only usable with Terraform based Proton Templates. To learn more about Amazon Web Services Feature Preview terms, see section 2 on Beta and Previews.
public RepositoryBranchInput getProvisioningRepository()
The repository that you provide with pull request provisioning. If you provide this parameter, you must omit the
environmentAccountConnectionId
and protonServiceRoleArn
parameters.
Provisioning by pull request is currently in feature preview and is only usable with Terraform based Proton Templates. To learn more about Amazon Web Services Feature Preview terms, see section 2 on Beta and Previews.
environmentAccountConnectionId
and protonServiceRoleArn
parameters. Provisioning by pull request is currently in feature preview and is only usable with Terraform based Proton Templates. To learn more about Amazon Web Services Feature Preview terms, see section 2 on Beta and Previews.
public CreateEnvironmentRequest withProvisioningRepository(RepositoryBranchInput provisioningRepository)
The repository that you provide with pull request provisioning. If you provide this parameter, you must omit the
environmentAccountConnectionId
and protonServiceRoleArn
parameters.
Provisioning by pull request is currently in feature preview and is only usable with Terraform based Proton Templates. To learn more about Amazon Web Services Feature Preview terms, see section 2 on Beta and Previews.
provisioningRepository
- The repository that you provide with pull request provisioning. If you provide this parameter, you must
omit the environmentAccountConnectionId
and protonServiceRoleArn
parameters.
Provisioning by pull request is currently in feature preview and is only usable with Terraform based Proton Templates. To learn more about Amazon Web Services Feature Preview terms, see section 2 on Beta and Previews.
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 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
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 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 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
Proton Administrator Guide.public List<Tag> getTags()
Create tags for your environment. For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.
public void setTags(Collection<Tag> tags)
Create tags for your environment. For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.
tags
- Create tags for your environment. For more information, see Proton resources and tagging in the Proton Administrator Guide
or Proton User Guide.public CreateEnvironmentRequest withTags(Tag... tags)
Create tags for your environment. For more information, see Proton resources and tagging in the Proton Administrator Guide or 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 Proton resources and tagging in the Proton Administrator Guide
or Proton User Guide.public CreateEnvironmentRequest withTags(Collection<Tag> tags)
Create tags for your environment. For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.
tags
- Create tags for your environment. For more information, see Proton resources and tagging in the Proton Administrator Guide
or Proton User Guide.public void setTemplateMajorVersion(String templateMajorVersion)
The major version of the environment template.
templateMajorVersion
- The major version of the environment template.public String getTemplateMajorVersion()
The major version of the environment template.
public CreateEnvironmentRequest withTemplateMajorVersion(String templateMajorVersion)
The major version of the environment template.
templateMajorVersion
- The major version of the environment template.public void setTemplateMinorVersion(String templateMinorVersion)
The minor version of the environment template.
templateMinorVersion
- The minor version of the environment template.public String getTemplateMinorVersion()
The minor version of the environment template.
public CreateEnvironmentRequest withTemplateMinorVersion(String templateMinorVersion)
The minor version of the environment template.
templateMinorVersion
- 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 Proton Administrator Guide.
templateName
- The name of the environment template. For more information, see Environment Templates in
the Proton Administrator Guide.public String getTemplateName()
The name of the environment template. For more information, see Environment Templates in the Proton Administrator Guide.
public CreateEnvironmentRequest withTemplateName(String templateName)
The name of the environment template. For more information, see Environment Templates in the Proton Administrator Guide.
templateName
- The name of the environment template. For more information, see Environment Templates in
the Proton Administrator Guide.public String toString()
toString
in class Object
Object.toString()
public CreateEnvironmentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()