@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 Proton. | 
| String | getDescription()
 A description of the Proton service. | 
| String | getName()
 The service name. | 
| String | getRepositoryConnectionArn()
 The Amazon Resource Name (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 major version of the service template that was used to create the service. | 
| String | getTemplateMinorVersion()
 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 Proton. | 
| void | setDescription(String description)
 A description of the Proton service. | 
| void | setName(String name)
 The service name. | 
| void | setRepositoryConnectionArn(String repositoryConnectionArn)
 The Amazon Resource Name (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 major version of the service template that was used to create the service. | 
| void | setTemplateMinorVersion(String templateMinorVersion)
 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 Proton. | 
| CreateServiceRequest | withDescription(String description)
 A description of the Proton service. | 
| CreateServiceRequest | withName(String name)
 The service name. | 
| CreateServiceRequest | withRepositoryConnectionArn(String repositoryConnectionArn)
 The Amazon Resource Name (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 major version of the service template that was used to create the service. | 
| CreateServiceRequest | withTemplateMinorVersion(String templateMinorVersion)
 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, withSdkRequestTimeoutpublic void setBranchName(String branchName)
The name of the code repository branch that holds the code that's deployed in 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 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 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 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 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 Proton service.
description - A description of the Proton service.public String getDescription()
A description of the Proton service.
public CreateServiceRequest withDescription(String description)
A description of the Proton service.
description - A description of the 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 Amazon Resource Name (ARN) of the repository connection. For more information, see Set up repository connection in the Proton Administrator Guide and Setting up with Proton in the Proton User Guide. Don't include this parameter if your service template doesn't include a service pipeline.
repositoryConnectionArn - The Amazon Resource Name (ARN) of the repository connection. For more information, see Set
        up repository connection in the Proton Administrator Guide and Setting
        up with Proton in the Proton User Guide. Don't include this parameter if your service
        template doesn't include a service pipeline.public String getRepositoryConnectionArn()
The Amazon Resource Name (ARN) of the repository connection. For more information, see Set up repository connection in the Proton Administrator Guide and Setting up with Proton in the Proton User Guide. Don't include this parameter if your service template doesn't include a service pipeline.
public CreateServiceRequest withRepositoryConnectionArn(String repositoryConnectionArn)
The Amazon Resource Name (ARN) of the repository connection. For more information, see Set up repository connection in the Proton Administrator Guide and Setting up with Proton in the Proton User Guide. Don't include this parameter if your service template doesn't include a service pipeline.
repositoryConnectionArn - The Amazon Resource Name (ARN) of the repository connection. For more information, see Set
        up repository connection in the Proton Administrator Guide and Setting
        up with Proton in the 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 Proton Administrator Guide and Create a service in the 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 Proton Administrator Guide and Create a service in the
        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 Proton Administrator Guide and Create a service in the 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 Proton Administrator Guide and Create a service in the 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 Proton Administrator Guide and Create a service in the
        Proton User Guide.public List<Tag> getTags()
Create tags for your service. 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 service. For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.
tags - Create tags for your service. For more information, see Proton resources and tagging in the Proton Administrator Guide
        or Proton User Guide.public CreateServiceRequest withTags(Tag... tags)
Create tags for your service. 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 service. For more information, see Proton resources and tagging in the Proton Administrator Guide
        or Proton User Guide.public CreateServiceRequest withTags(Collection<Tag> tags)
Create tags for your service. For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.
tags - Create tags for your service. 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 service template that was used to create the service.
templateMajorVersion - The major version of the service template that was used to create the service.public String getTemplateMajorVersion()
The major version of the service template that was used to create the service.
public CreateServiceRequest withTemplateMajorVersion(String templateMajorVersion)
The major version of the service template that was used to create the service.
templateMajorVersion - The major version of the service template that was used to create the service.public void setTemplateMinorVersion(String templateMinorVersion)
The minor version of the service template that was used to create the service.
templateMinorVersion - The minor version of the service template that was used to create the service.public String getTemplateMinorVersion()
The minor version of the service template that was used to create the service.
public CreateServiceRequest withTemplateMinorVersion(String templateMinorVersion)
The minor version of the service template that was used to create the service.
templateMinorVersion - 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 ObjectObject.toString()public CreateServiceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()