/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.apprunner.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* 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 AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ServiceSummary implements Serializable, Cloneable, StructuredPojo { /** ** The customer-provided service name. *
*/ private String serviceName; /** ** An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region. *
*/ private String serviceId; /** ** The Amazon Resource Name (ARN) of this service. *
*/ private String serviceArn; /** ** A subdomain URL that App Runner generated for this service. You can use this URL to access your service web * application. *
*/ private String serviceUrl; /** ** The time when the App Runner service was created. It's in the Unix time stamp format. *
*/ private java.util.Date createdAt; /** ** The time when the App Runner service was last updated. It's in theUnix time stamp format. *
*/ private java.util.Date updatedAt; /** ** 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.
*
* The customer-provided service name. *
* * @param serviceName * The customer-provided service name. */ public void setServiceName(String serviceName) { this.serviceName = serviceName; } /** ** The customer-provided service name. *
* * @return The customer-provided service name. */ public String getServiceName() { return this.serviceName; } /** ** The customer-provided service name. *
* * @param serviceName * The customer-provided service name. * @return Returns a reference to this object so that method calls can be chained together. */ public ServiceSummary withServiceName(String serviceName) { setServiceName(serviceName); return this; } /** ** An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region. *
* * @param serviceId * An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region. */ public void setServiceId(String serviceId) { this.serviceId = serviceId; } /** ** An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region. *
* * @return An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region. */ public String getServiceId() { return this.serviceId; } /** ** An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region. *
* * @param serviceId * An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region. * @return Returns a reference to this object so that method calls can be chained together. */ public ServiceSummary withServiceId(String serviceId) { setServiceId(serviceId); return this; } /** ** The Amazon Resource Name (ARN) of this service. *
* * @param serviceArn * The Amazon Resource Name (ARN) of this service. */ public void setServiceArn(String serviceArn) { this.serviceArn = serviceArn; } /** ** The Amazon Resource Name (ARN) of this service. *
* * @return The Amazon Resource Name (ARN) of this service. */ public String getServiceArn() { return this.serviceArn; } /** ** The Amazon Resource Name (ARN) of this service. *
* * @param serviceArn * The Amazon Resource Name (ARN) of this service. * @return Returns a reference to this object so that method calls can be chained together. */ public ServiceSummary withServiceArn(String serviceArn) { setServiceArn(serviceArn); return this; } /** ** A subdomain URL that App Runner generated for this service. You can use this URL to access your service web * application. *
* * @param serviceUrl * A subdomain URL that App Runner generated for this service. You can use this URL to access your service * web application. */ public void setServiceUrl(String serviceUrl) { this.serviceUrl = serviceUrl; } /** ** A subdomain URL that App Runner generated for this service. You can use this URL to access your service web * application. *
* * @return A subdomain URL that App Runner generated for this service. You can use this URL to access your service * web application. */ public String getServiceUrl() { return this.serviceUrl; } /** ** A subdomain URL that App Runner generated for this service. You can use this URL to access your service web * application. *
* * @param serviceUrl * A subdomain URL that App Runner generated for this service. You can use this URL to access your service * web application. * @return Returns a reference to this object so that method calls can be chained together. */ public ServiceSummary withServiceUrl(String serviceUrl) { setServiceUrl(serviceUrl); return this; } /** ** The time when the App Runner service was created. It's in the Unix time stamp format. *
* * @param createdAt * The time when the App Runner service was created. It's in the Unix time stamp format. */ public void setCreatedAt(java.util.Date createdAt) { this.createdAt = createdAt; } /** ** The time when the App Runner service was created. It's in the Unix time stamp format. *
* * @return The time when the App Runner service was created. It's in the Unix time stamp format. */ public java.util.Date getCreatedAt() { return this.createdAt; } /** ** The time when the App Runner service was created. It's in the Unix time stamp format. *
* * @param createdAt * The time when the App Runner service was created. It's in the Unix time stamp format. * @return Returns a reference to this object so that method calls can be chained together. */ public ServiceSummary withCreatedAt(java.util.Date createdAt) { setCreatedAt(createdAt); return this; } /** ** The time when the App Runner service was last updated. It's in theUnix time stamp format. *
* * @param updatedAt * The time when the App Runner service was last updated. It's in theUnix time stamp format. */ public void setUpdatedAt(java.util.Date updatedAt) { this.updatedAt = updatedAt; } /** ** The time when the App Runner service was last updated. It's in theUnix time stamp format. *
* * @return The time when the App Runner service was last updated. It's in theUnix time stamp format. */ public java.util.Date getUpdatedAt() { return this.updatedAt; } /** ** The time when the App Runner service was last updated. It's in theUnix time stamp format. *
* * @param updatedAt * The time when the App Runner service was last updated. It's in theUnix time stamp format. * @return Returns a reference to this object so that method calls can be chained together. */ public ServiceSummary withUpdatedAt(java.util.Date updatedAt) { setUpdatedAt(updatedAt); return this; } /** ** 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*