Class ServiceSummary
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ServiceSummary.Builder,
ServiceSummary>
Provides summary information for an 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.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceSummary.Builder
builder()
final Instant
The time when the App Runner service was created.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
static Class
<? extends ServiceSummary.Builder> final String
The Amazon Resource Name (ARN) of this service.final String
An ID that App Runner generated for this service.final String
The customer-provided service name.final String
A subdomain URL that App Runner generated for this service.final ServiceStatus
status()
The current state of the App Runner service.final String
The current state of the App Runner service.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final Instant
The time when the App Runner service was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
serviceName
The customer-provided service name.
- Returns:
- The customer-provided service name.
-
serviceId
An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region.
- Returns:
- An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region.
-
serviceArn
The Amazon Resource Name (ARN) of this service.
- Returns:
- The Amazon Resource Name (ARN) of this service.
-
serviceUrl
A subdomain URL that App Runner generated for this service. You can use this URL to access your service web application.
- Returns:
- A subdomain URL that App Runner generated for this service. You can use this URL to access your service web application.
-
createdAt
The time when the App Runner service was created. It's in the Unix time stamp format.
- Returns:
- The time when the App Runner service was created. It's in the Unix time stamp format.
-
updatedAt
The time when the App Runner service was last updated. It's in theUnix time stamp format.
- Returns:
- The time when the App Runner service was last updated. It's in theUnix time stamp format.
-
status
The current state of the App Runner service. These particular values mean the following.
-
CREATE_FAILED
– The service failed to create. The failed service isn't usable, and still counts towards your service quota. To troubleshoot this failure, read the failure events and logs, change any parameters that need to be fixed, and rebuild your service usingUpdateService
. -
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 returnServiceStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The current state of the App Runner service. These particular values mean the following.
-
CREATE_FAILED
– The service failed to create. The failed service isn't usable, and still counts towards your service quota. To troubleshoot this failure, read the failure events and logs, change any parameters that need to be fixed, and rebuild your service usingUpdateService
. -
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.
-
- See Also:
-
-
statusAsString
The current state of the App Runner service. These particular values mean the following.
-
CREATE_FAILED
– The service failed to create. The failed service isn't usable, and still counts towards your service quota. To troubleshoot this failure, read the failure events and logs, change any parameters that need to be fixed, and rebuild your service usingUpdateService
. -
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 returnServiceStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The current state of the App Runner service. These particular values mean the following.
-
CREATE_FAILED
– The service failed to create. The failed service isn't usable, and still counts towards your service quota. To troubleshoot this failure, read the failure events and logs, change any parameters that need to be fixed, and rebuild your service usingUpdateService
. -
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.
-
- See Also:
-
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ServiceSummary.Builder,
ServiceSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-