@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateServiceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateServiceRequest() |
Modifier and Type | Method and Description |
---|---|
CreateServiceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBranchName()
The name of the code repository branch that holds the code that's deployed in AWS Proton.
|
String |
getDescription()
A description of the AWS Proton service.
|
String |
getName()
The service name.
|
String |
getRepositoryConnectionArn()
The ARN of the repository connection.
|
String |
getRepositoryId()
The ID of the code repository.
|
String |
getSpec()
A link to a spec file that provides inputs as defined in the service template bundle schema file.
|
List<Tag> |
getTags()
Create tags for your service.
|
String |
getTemplateMajorVersion()
The ID of the major version of the service template that was used to create the service.
|
String |
getTemplateMinorVersion()
The ID of the minor version of the service template that was used to create the service.
|
String |
getTemplateName()
The name of the service template that's used to create the service.
|
int |
hashCode() |
void |
setBranchName(String branchName)
The name of the code repository branch that holds the code that's deployed in AWS Proton.
|
void |
setDescription(String description)
A description of the AWS Proton service.
|
void |
setName(String name)
The service name.
|
void |
setRepositoryConnectionArn(String repositoryConnectionArn)
The ARN of the repository connection.
|
void |
setRepositoryId(String repositoryId)
The ID of the code repository.
|
void |
setSpec(String spec)
A link to a spec file that provides inputs as defined in the service template bundle schema file.
|
void |
setTags(Collection<Tag> tags)
Create tags for your service.
|
void |
setTemplateMajorVersion(String templateMajorVersion)
The ID of the major version of the service template that was used to create the service.
|
void |
setTemplateMinorVersion(String templateMinorVersion)
The ID of the minor version of the service template that was used to create the service.
|
void |
setTemplateName(String templateName)
The name of the service template that's used to create the service.
|
String |
toString()
Returns a string representation of this object.
|
CreateServiceRequest |
withBranchName(String branchName)
The name of the code repository branch that holds the code that's deployed in AWS Proton.
|
CreateServiceRequest |
withDescription(String description)
A description of the AWS Proton service.
|
CreateServiceRequest |
withName(String name)
The service name.
|
CreateServiceRequest |
withRepositoryConnectionArn(String repositoryConnectionArn)
The ARN of the repository connection.
|
CreateServiceRequest |
withRepositoryId(String repositoryId)
The ID of the code repository.
|
CreateServiceRequest |
withSpec(String spec)
A link to a spec file that provides inputs as defined in the service template bundle schema file.
|
CreateServiceRequest |
withTags(Collection<Tag> tags)
Create tags for your service.
|
CreateServiceRequest |
withTags(Tag... tags)
Create tags for your service.
|
CreateServiceRequest |
withTemplateMajorVersion(String templateMajorVersion)
The ID of the major version of the service template that was used to create the service.
|
CreateServiceRequest |
withTemplateMinorVersion(String templateMinorVersion)
The ID of the minor version of the service template that was used to create the service.
|
CreateServiceRequest |
withTemplateName(String templateName)
The name of the service template that's used to create the service.
|
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 setBranchName(String branchName)
The name of the code repository branch that holds the code that's deployed in AWS Proton. Don't include this parameter if your service template doesn't include a service pipeline.
branchName
- The name of the code repository branch that holds the code that's deployed in AWS Proton. Don't
include this parameter if your service template doesn't include a service pipeline.public String getBranchName()
The name of the code repository branch that holds the code that's deployed in AWS Proton. Don't include this parameter if your service template doesn't include a service pipeline.
public CreateServiceRequest withBranchName(String branchName)
The name of the code repository branch that holds the code that's deployed in AWS Proton. Don't include this parameter if your service template doesn't include a service pipeline.
branchName
- The name of the code repository branch that holds the code that's deployed in AWS Proton. Don't
include this parameter if your service template doesn't include a service pipeline.public void setDescription(String description)
A description of the AWS Proton service.
description
- A description of the AWS Proton service.public String getDescription()
A description of the AWS Proton service.
public CreateServiceRequest withDescription(String description)
A description of the AWS Proton service.
description
- A description of the AWS Proton service.public void setName(String name)
The service name.
name
- The service name.public String getName()
The service name.
public CreateServiceRequest withName(String name)
The service name.
name
- The service name.public void setRepositoryConnectionArn(String repositoryConnectionArn)
The ARN of the repository connection. For more information, see Set up repository connection in the AWS Proton Administration Guide and Getting started in the AWS Proton User Guide. Don't include this parameter if your service template doesn't include a service pipeline.
repositoryConnectionArn
- The ARN of the repository connection. For more information, see Set up repository connection in the AWS Proton Administration Guide and Getting started in the AWS Proton User Guide. Don't include this parameter if your
service template doesn't include a service pipeline.public String getRepositoryConnectionArn()
The ARN of the repository connection. For more information, see Set up repository connection in the AWS Proton Administration Guide and Getting started in the AWS Proton User Guide. Don't include this parameter if your service template doesn't include a service pipeline.
public CreateServiceRequest withRepositoryConnectionArn(String repositoryConnectionArn)
The ARN of the repository connection. For more information, see Set up repository connection in the AWS Proton Administration Guide and Getting started in the AWS Proton User Guide. Don't include this parameter if your service template doesn't include a service pipeline.
repositoryConnectionArn
- The ARN of the repository connection. For more information, see Set up repository connection in the AWS Proton Administration Guide and Getting started in the AWS Proton User Guide. Don't include this parameter if your
service template doesn't include a service pipeline.public void setRepositoryId(String repositoryId)
The ID of the code repository. Don't include this parameter if your service template doesn't include a service pipeline.
repositoryId
- The ID of the code repository. Don't include this parameter if your service template doesn't
include a service pipeline.public String getRepositoryId()
The ID of the code repository. Don't include this parameter if your service template doesn't include a service pipeline.
public CreateServiceRequest withRepositoryId(String repositoryId)
The ID of the code repository. Don't include this parameter if your service template doesn't include a service pipeline.
repositoryId
- The ID of the code repository. Don't include this parameter if your service template doesn't
include a service pipeline.public void setSpec(String spec)
A link to a spec file that provides inputs as defined in the service template bundle schema file. The spec file is in YAML format. Don’t include pipeline inputs in the spec if your service template doesn’t include a service pipeline. For more information, see Create a service in the AWS Proton Administration Guide and Create a service in the AWS Proton User Guide.
spec
- A link to a spec file that provides inputs as defined in the service template bundle schema file. The spec
file is in YAML format. Don’t include pipeline inputs in the spec if your service template doesn’t include
a service pipeline. For more information, see Create a service
in the AWS Proton Administration Guide and Create a service in the
AWS Proton User Guide.public String getSpec()
A link to a spec file that provides inputs as defined in the service template bundle schema file. The spec file is in YAML format. Don’t include pipeline inputs in the spec if your service template doesn’t include a service pipeline. For more information, see Create a service in the AWS Proton Administration Guide and Create a service in the AWS Proton User Guide.
public CreateServiceRequest withSpec(String spec)
A link to a spec file that provides inputs as defined in the service template bundle schema file. The spec file is in YAML format. Don’t include pipeline inputs in the spec if your service template doesn’t include a service pipeline. For more information, see Create a service in the AWS Proton Administration Guide and Create a service in the AWS Proton User Guide.
spec
- A link to a spec file that provides inputs as defined in the service template bundle schema file. The spec
file is in YAML format. Don’t include pipeline inputs in the spec if your service template doesn’t include
a service pipeline. For more information, see Create a service
in the AWS Proton Administration Guide and Create a service in the
AWS Proton User Guide.public List<Tag> getTags()
Create tags for your service. For more information, see AWS Proton resources and tagging in the AWS Proton Administration Guide or AWS Proton User Guide.
public void setTags(Collection<Tag> tags)
Create tags for your service. For more information, see AWS Proton resources and tagging in the AWS Proton Administration Guide or AWS Proton User Guide.
tags
- Create tags for your service. For more information, see AWS Proton resources and tagging in the AWS Proton Administration
Guide or AWS Proton User
Guide.public CreateServiceRequest withTags(Tag... tags)
Create tags for your service. For more information, see AWS Proton resources and tagging in the AWS Proton Administration 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 service. For more information, see AWS Proton resources and tagging in the AWS Proton Administration
Guide or AWS Proton User
Guide.public CreateServiceRequest withTags(Collection<Tag> tags)
Create tags for your service. For more information, see AWS Proton resources and tagging in the AWS Proton Administration Guide or AWS Proton User Guide.
tags
- Create tags for your service. For more information, see AWS Proton resources and tagging in the AWS Proton Administration
Guide or AWS Proton User
Guide.public void setTemplateMajorVersion(String templateMajorVersion)
The ID of the major version of the service template that was used to create the service.
templateMajorVersion
- The ID of the major version of the service template that was used to create the service.public String getTemplateMajorVersion()
The ID of the major version of the service template that was used to create the service.
public CreateServiceRequest withTemplateMajorVersion(String templateMajorVersion)
The ID of the major version of the service template that was used to create the service.
templateMajorVersion
- The ID of the major version of the service template that was used to create the service.public void setTemplateMinorVersion(String templateMinorVersion)
The ID of the minor version of the service template that was used to create the service.
templateMinorVersion
- The ID of the minor version of the service template that was used to create the service.public String getTemplateMinorVersion()
The ID of the minor version of the service template that was used to create the service.
public CreateServiceRequest withTemplateMinorVersion(String templateMinorVersion)
The ID of the minor version of the service template that was used to create the service.
templateMinorVersion
- The ID of the minor version of the service template that was used to create the service.public void setTemplateName(String templateName)
The name of the service template that's used to create the service.
templateName
- The name of the service template that's used to create the service.public String getTemplateName()
The name of the service template that's used to create the service.
public CreateServiceRequest withTemplateName(String templateName)
The name of the service template that's used to create the service.
templateName
- The name of the service template that's used to create the service.public String toString()
toString
in class Object
Object.toString()
public CreateServiceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()