@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Service extends Object implements Serializable, Cloneable, StructuredPojo
Detailed data of an Proton service resource.
Constructor and Description |
---|
Service() |
Modifier and Type | Method and Description |
---|---|
Service |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the service.
|
String |
getBranchName()
The name of the code repository branch that holds the code that's deployed in Proton.
|
Date |
getCreatedAt()
The time when the service was created.
|
String |
getDescription()
A description of the service.
|
Date |
getLastModifiedAt()
The time when the service was last modified.
|
String |
getName()
The name of the service.
|
ServicePipeline |
getPipeline()
The service pipeline detail data.
|
String |
getRepositoryConnectionArn()
The Amazon Resource Name (ARN) of the repository connection.
|
String |
getRepositoryId()
The ID of the source code repository.
|
String |
getSpec()
The formatted specification that defines the service.
|
String |
getStatus()
The status of the service.
|
String |
getStatusMessage()
A service status message.
|
String |
getTemplateName()
The name of the service template.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the service.
|
void |
setBranchName(String branchName)
The name of the code repository branch that holds the code that's deployed in Proton.
|
void |
setCreatedAt(Date createdAt)
The time when the service was created.
|
void |
setDescription(String description)
A description of the service.
|
void |
setLastModifiedAt(Date lastModifiedAt)
The time when the service was last modified.
|
void |
setName(String name)
The name of the service.
|
void |
setPipeline(ServicePipeline pipeline)
The service pipeline detail data.
|
void |
setRepositoryConnectionArn(String repositoryConnectionArn)
The Amazon Resource Name (ARN) of the repository connection.
|
void |
setRepositoryId(String repositoryId)
The ID of the source code repository.
|
void |
setSpec(String spec)
The formatted specification that defines the service.
|
void |
setStatus(String status)
The status of the service.
|
void |
setStatusMessage(String statusMessage)
A service status message.
|
void |
setTemplateName(String templateName)
The name of the service template.
|
String |
toString()
Returns a string representation of this object.
|
Service |
withArn(String arn)
The Amazon Resource Name (ARN) of the service.
|
Service |
withBranchName(String branchName)
The name of the code repository branch that holds the code that's deployed in Proton.
|
Service |
withCreatedAt(Date createdAt)
The time when the service was created.
|
Service |
withDescription(String description)
A description of the service.
|
Service |
withLastModifiedAt(Date lastModifiedAt)
The time when the service was last modified.
|
Service |
withName(String name)
The name of the service.
|
Service |
withPipeline(ServicePipeline pipeline)
The service pipeline detail data.
|
Service |
withRepositoryConnectionArn(String repositoryConnectionArn)
The Amazon Resource Name (ARN) of the repository connection.
|
Service |
withRepositoryId(String repositoryId)
The ID of the source code repository.
|
Service |
withSpec(String spec)
The formatted specification that defines the service.
|
Service |
withStatus(ServiceStatus status)
The status of the service.
|
Service |
withStatus(String status)
The status of the service.
|
Service |
withStatusMessage(String statusMessage)
A service status message.
|
Service |
withTemplateName(String templateName)
The name of the service template.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the service.
arn
- The Amazon Resource Name (ARN) of the service.public String getArn()
The Amazon Resource Name (ARN) of the service.
public Service withArn(String arn)
The Amazon Resource Name (ARN) of the service.
arn
- The Amazon Resource Name (ARN) of the service.public void setBranchName(String branchName)
The name of the code repository branch that holds the code that's deployed in Proton.
branchName
- The name of the code repository branch that holds the code that's deployed in Proton.public String getBranchName()
The name of the code repository branch that holds the code that's deployed in Proton.
public Service withBranchName(String branchName)
The name of the code repository branch that holds the code that's deployed in Proton.
branchName
- The name of the code repository branch that holds the code that's deployed in Proton.public void setCreatedAt(Date createdAt)
The time when the service was created.
createdAt
- The time when the service was created.public Date getCreatedAt()
The time when the service was created.
public Service withCreatedAt(Date createdAt)
The time when the service was created.
createdAt
- The time when the service was created.public void setDescription(String description)
A description of the service.
description
- A description of the service.public String getDescription()
A description of the service.
public Service withDescription(String description)
A description of the service.
description
- A description of the service.public void setLastModifiedAt(Date lastModifiedAt)
The time when the service was last modified.
lastModifiedAt
- The time when the service was last modified.public Date getLastModifiedAt()
The time when the service was last modified.
public Service withLastModifiedAt(Date lastModifiedAt)
The time when the service was last modified.
lastModifiedAt
- The time when the service was last modified.public void setName(String name)
The name of the service.
name
- The name of the service.public String getName()
The name of the service.
public Service withName(String name)
The name of the service.
name
- The name of the service.public void setPipeline(ServicePipeline pipeline)
The service pipeline detail data.
pipeline
- The service pipeline detail data.public ServicePipeline getPipeline()
The service pipeline detail data.
public Service withPipeline(ServicePipeline pipeline)
The service pipeline detail data.
pipeline
- The service pipeline detail data.public void setRepositoryConnectionArn(String repositoryConnectionArn)
The Amazon Resource Name (ARN) of the repository connection. For more information, see Setting up an AWS CodeStar connection in the Proton User Guide.
repositoryConnectionArn
- The Amazon Resource Name (ARN) of the repository connection. For more information, see Setting up an AWS CodeStar connection in the Proton User Guide.public String getRepositoryConnectionArn()
The Amazon Resource Name (ARN) of the repository connection. For more information, see Setting up an AWS CodeStar connection in the Proton User Guide.
public Service withRepositoryConnectionArn(String repositoryConnectionArn)
The Amazon Resource Name (ARN) of the repository connection. For more information, see Setting up an AWS CodeStar connection in the Proton User Guide.
repositoryConnectionArn
- The Amazon Resource Name (ARN) of the repository connection. For more information, see Setting up an AWS CodeStar connection in the Proton User Guide.public void setRepositoryId(String repositoryId)
The ID of the source code repository.
repositoryId
- The ID of the source code repository.public String getRepositoryId()
The ID of the source code repository.
public Service withRepositoryId(String repositoryId)
The ID of the source code repository.
repositoryId
- The ID of the source code repository.public void setSpec(String spec)
The formatted specification that defines the service.
spec
- The formatted specification that defines the service.public String getSpec()
The formatted specification that defines the service.
public Service withSpec(String spec)
The formatted specification that defines the service.
spec
- The formatted specification that defines the service.public void setStatus(String status)
The status of the service.
status
- The status of the service.ServiceStatus
public String getStatus()
The status of the service.
ServiceStatus
public Service withStatus(String status)
The status of the service.
status
- The status of the service.ServiceStatus
public Service withStatus(ServiceStatus status)
The status of the service.
status
- The status of the service.ServiceStatus
public void setStatusMessage(String statusMessage)
A service status message.
statusMessage
- A service status message.public String getStatusMessage()
A service status message.
public Service withStatusMessage(String statusMessage)
A service status message.
statusMessage
- A service status message.public void setTemplateName(String templateName)
The name of the service template.
templateName
- The name of the service template.public String getTemplateName()
The name of the service template.
public Service withTemplateName(String templateName)
The name of the service template.
templateName
- The name of the service template.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.