@Generated(value="software.amazon.awssdk:codegen") public final class ServiceSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceSummary.Builder,ServiceSummary>
Provides summary information for an AWS App Runner service.
This type contains limited information about a service. It doesn't include configuration details. It's returned by the ListServices action. Complete service information is returned by the CreateService, DescribeService, and DeleteService actions using the Service type.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ServiceSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ServiceSummary.Builder |
builder() |
Instant |
createdAt()
The time when the App Runner service was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ServiceSummary.Builder> |
serializableBuilderClass() |
String |
serviceArn()
The Amazon Resource Name (ARN) of this service.
|
String |
serviceId()
An ID that App Runner generated for this service.
|
String |
serviceName()
The customer-provided service name.
|
String |
serviceUrl()
A subdomain URL that App Runner generated for this service.
|
ServiceStatus |
status()
The current state of the App Runner service.
|
String |
statusAsString()
The current state of the App Runner service.
|
ServiceSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updatedAt()
The time when the App Runner service was last updated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String serviceName()
The customer-provided service name.
public final String serviceId()
An ID that App Runner generated for this service. It's unique within the AWS Region.
public final String serviceArn()
The Amazon Resource Name (ARN) of this service.
public final String serviceUrl()
A subdomain URL that App Runner generated for this service. You can use this URL to access your service web application.
public final Instant createdAt()
The time when the App Runner service was created. It's in the Unix time stamp format.
public final Instant updatedAt()
The time when the App Runner service was last updated. It's in theUnix time stamp format.
public final ServiceStatus status()
The current state of the App Runner service. These particular values mean the following.
CREATE_FAILED – The service failed to create. Read the failure events and logs, change any
parameters that need to be fixed, and retry the call to create the service.
The failed service isn't usable, and still counts towards your service quota. When you're done analyzing the failure, delete the service.
DELETE_FAILED – The service failed to delete and can't be successfully recovered. Retry the service
deletion call to ensure that all related resources are removed.
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().
CREATE_FAILED – The service failed to create. Read the failure events and logs, change any
parameters that need to be fixed, and retry the call to create the service.
The failed service isn't usable, and still counts towards your service quota. When you're done analyzing the failure, delete the service.
DELETE_FAILED – The service failed to delete and can't be successfully recovered. Retry the
service deletion call to ensure that all related resources are removed.
ServiceStatuspublic final String statusAsString()
The current state of the App Runner service. These particular values mean the following.
CREATE_FAILED – The service failed to create. Read the failure events and logs, change any
parameters that need to be fixed, and retry the call to create the service.
The failed service isn't usable, and still counts towards your service quota. When you're done analyzing the failure, delete the service.
DELETE_FAILED – The service failed to delete and can't be successfully recovered. Retry the service
deletion call to ensure that all related resources are removed.
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().
CREATE_FAILED – The service failed to create. Read the failure events and logs, change any
parameters that need to be fixed, and retry the call to create the service.
The failed service isn't usable, and still counts towards your service quota. When you're done analyzing the failure, delete the service.
DELETE_FAILED – The service failed to delete and can't be successfully recovered. Retry the
service deletion call to ensure that all related resources are removed.
ServiceStatuspublic ServiceSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ServiceSummary.Builder,ServiceSummary>public static ServiceSummary.Builder builder()
public static Class<? extends ServiceSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.