@Generated(value="software.amazon.awssdk:codegen") public final class Service extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Service.Builder,Service>
Detailed data of an Proton service resource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Service.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the service.
|
String |
branchName()
The name of the code repository branch that holds the code that's deployed in Proton.
|
static Service.Builder |
builder() |
Instant |
createdAt()
The time when the service was created.
|
String |
description()
A description of the service.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastModifiedAt()
The time when the service was last modified.
|
String |
name()
The name of the service.
|
ServicePipeline |
pipeline()
The service pipeline detail data.
|
String |
repositoryConnectionArn()
The Amazon Resource Name (ARN) of the repository connection.
|
String |
repositoryId()
The ID of the source code repository.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Service.Builder> |
serializableBuilderClass() |
String |
spec()
The formatted specification that defines the service.
|
ServiceStatus |
status()
The status of the service.
|
String |
statusAsString()
The status of the service.
|
String |
statusMessage()
A service status message.
|
String |
templateName()
The name of the service template.
|
Service.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The Amazon Resource Name (ARN) of the service.
public final String branchName()
The name of the code repository branch that holds the code that's deployed in Proton.
public final Instant createdAt()
The time when the service was created.
public final String description()
A description of the service.
public final Instant lastModifiedAt()
The time when the service was last modified.
public final String name()
The name of the service.
public final ServicePipeline pipeline()
The service pipeline detail data.
public final 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.
public final String repositoryId()
The ID of the source code repository.
public final String spec()
The formatted specification that defines the service.
public final ServiceStatus status()
The status of the service.
If the service returns an enum value that is not available in the current SDK version, status will
return ServiceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ServiceStatuspublic final String statusAsString()
The status of the service.
If the service returns an enum value that is not available in the current SDK version, status will
return ServiceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ServiceStatuspublic final String statusMessage()
A service status message.
public final String templateName()
The name of the service template.
public Service.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Service.Builder,Service>public static Service.Builder builder()
public static Class<? extends Service.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.