@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceSummary extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
ServiceSummary() |
Modifier and Type | Method and Description |
---|---|
ServiceSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The time when the App Runner service was created.
|
String |
getServiceArn()
The Amazon Resource Name (ARN) of this service.
|
String |
getServiceId()
An ID that App Runner generated for this service.
|
String |
getServiceName()
The customer-provided service name.
|
String |
getServiceUrl()
A subdomain URL that App Runner generated for this service.
|
String |
getStatus()
The current state of the App Runner service.
|
Date |
getUpdatedAt()
The time when the App Runner service was last updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The time when the App Runner service was created.
|
void |
setServiceArn(String serviceArn)
The Amazon Resource Name (ARN) of this service.
|
void |
setServiceId(String serviceId)
An ID that App Runner generated for this service.
|
void |
setServiceName(String serviceName)
The customer-provided service name.
|
void |
setServiceUrl(String serviceUrl)
A subdomain URL that App Runner generated for this service.
|
void |
setStatus(String status)
The current state of the App Runner service.
|
void |
setUpdatedAt(Date updatedAt)
The time when the App Runner service was last updated.
|
String |
toString()
Returns a string representation of this object.
|
ServiceSummary |
withCreatedAt(Date createdAt)
The time when the App Runner service was created.
|
ServiceSummary |
withServiceArn(String serviceArn)
The Amazon Resource Name (ARN) of this service.
|
ServiceSummary |
withServiceId(String serviceId)
An ID that App Runner generated for this service.
|
ServiceSummary |
withServiceName(String serviceName)
The customer-provided service name.
|
ServiceSummary |
withServiceUrl(String serviceUrl)
A subdomain URL that App Runner generated for this service.
|
ServiceSummary |
withStatus(ServiceStatus status)
The current state of the App Runner service.
|
ServiceSummary |
withStatus(String status)
The current state of the App Runner service.
|
ServiceSummary |
withUpdatedAt(Date updatedAt)
The time when the App Runner service was last updated.
|
public void setServiceName(String serviceName)
The customer-provided service name.
serviceName
- The customer-provided service name.public String getServiceName()
The customer-provided service name.
public ServiceSummary withServiceName(String serviceName)
The customer-provided service name.
serviceName
- The customer-provided service name.public void setServiceId(String serviceId)
An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region.
serviceId
- An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region.public String getServiceId()
An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region.
public ServiceSummary withServiceId(String serviceId)
An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region.
serviceId
- An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region.public void setServiceArn(String serviceArn)
The Amazon Resource Name (ARN) of this service.
serviceArn
- The Amazon Resource Name (ARN) of this service.public String getServiceArn()
The Amazon Resource Name (ARN) of this service.
public ServiceSummary withServiceArn(String serviceArn)
The Amazon Resource Name (ARN) of this service.
serviceArn
- The Amazon Resource Name (ARN) of this service.public void setServiceUrl(String serviceUrl)
A subdomain URL that App Runner generated for this service. You can use this URL to access your service web application.
serviceUrl
- A subdomain URL that App Runner generated for this service. You can use this URL to access your service
web application.public String getServiceUrl()
A subdomain URL that App Runner generated for this service. You can use this URL to access your service web application.
public ServiceSummary withServiceUrl(String serviceUrl)
A subdomain URL that App Runner generated for this service. You can use this URL to access your service web application.
serviceUrl
- A subdomain URL that App Runner generated for this service. You can use this URL to access your service
web application.public void setCreatedAt(Date createdAt)
The time when the App Runner service was created. It's in the Unix time stamp format.
createdAt
- The time when the App Runner service was created. It's in the Unix time stamp format.public Date getCreatedAt()
The time when the App Runner service was created. It's in the Unix time stamp format.
public ServiceSummary withCreatedAt(Date createdAt)
The time when the App Runner service was created. It's in the Unix time stamp format.
createdAt
- The time when the App Runner service was created. It's in the Unix time stamp format.public void setUpdatedAt(Date updatedAt)
The time when the App Runner service was last updated. It's in theUnix time stamp format.
updatedAt
- The time when the App Runner service was last updated. It's in theUnix time stamp format.public Date getUpdatedAt()
The time when the App Runner service was last updated. It's in theUnix time stamp format.
public ServiceSummary withUpdatedAt(Date updatedAt)
The time when the App Runner service was last updated. It's in theUnix time stamp format.
updatedAt
- The time when the App Runner service was last updated. It's in theUnix time stamp format.public void setStatus(String 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 using UpdateService
.
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.
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 using UpdateService
.
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.
ServiceStatus
public String getStatus()
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 using UpdateService
.
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.
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 using UpdateService
.
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.
ServiceStatus
public ServiceSummary withStatus(String 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 using UpdateService
.
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.
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 using UpdateService
.
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.
ServiceStatus
public ServiceSummary withStatus(ServiceStatus 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 using UpdateService
.
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.
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 using UpdateService
.
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.
ServiceStatus
public String toString()
toString
in class Object
Object.toString()
public ServiceSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.