/* * 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.route53domains.model; import java.io.Serializable; import javax.annotation.Generated; /** *

* The GetOperationDetail response includes the following elements. *

* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class GetOperationDetailResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable { /** *

* The identifier for the operation. *

*/ private String operationId; /** *

* The current status of the requested operation in the system. *

*/ private String status; /** *

* Detailed information on the status including possible errors. *

*/ private String message; /** *

* The name of a domain. *

*/ private String domainName; /** *

* The type of operation that was requested. *

*/ private String type; /** *

* The date when the request was submitted. *

*/ private java.util.Date submittedDate; /** *

* The date when the operation was last updated. *

*/ private java.util.Date lastUpdatedDate; /** *

* Lists any outstanding operations that require customer action. Valid values are: *

* */ private String statusFlag; /** *

* The identifier for the operation. *

* * @param operationId * The identifier for the operation. */ public void setOperationId(String operationId) { this.operationId = operationId; } /** *

* The identifier for the operation. *

* * @return The identifier for the operation. */ public String getOperationId() { return this.operationId; } /** *

* The identifier for the operation. *

* * @param operationId * The identifier for the operation. * @return Returns a reference to this object so that method calls can be chained together. */ public GetOperationDetailResult withOperationId(String operationId) { setOperationId(operationId); return this; } /** *

* The current status of the requested operation in the system. *

* * @param status * The current status of the requested operation in the system. * @see OperationStatus */ public void setStatus(String status) { this.status = status; } /** *

* The current status of the requested operation in the system. *

* * @return The current status of the requested operation in the system. * @see OperationStatus */ public String getStatus() { return this.status; } /** *

* The current status of the requested operation in the system. *

* * @param status * The current status of the requested operation in the system. * @return Returns a reference to this object so that method calls can be chained together. * @see OperationStatus */ public GetOperationDetailResult withStatus(String status) { setStatus(status); return this; } /** *

* The current status of the requested operation in the system. *

* * @param status * The current status of the requested operation in the system. * @see OperationStatus */ public void setStatus(OperationStatus status) { withStatus(status); } /** *

* The current status of the requested operation in the system. *

* * @param status * The current status of the requested operation in the system. * @return Returns a reference to this object so that method calls can be chained together. * @see OperationStatus */ public GetOperationDetailResult withStatus(OperationStatus status) { this.status = status.toString(); return this; } /** *

* Detailed information on the status including possible errors. *

* * @param message * Detailed information on the status including possible errors. */ public void setMessage(String message) { this.message = message; } /** *

* Detailed information on the status including possible errors. *

* * @return Detailed information on the status including possible errors. */ public String getMessage() { return this.message; } /** *

* Detailed information on the status including possible errors. *

* * @param message * Detailed information on the status including possible errors. * @return Returns a reference to this object so that method calls can be chained together. */ public GetOperationDetailResult withMessage(String message) { setMessage(message); return this; } /** *

* The name of a domain. *

* * @param domainName * The name of a domain. */ public void setDomainName(String domainName) { this.domainName = domainName; } /** *

* The name of a domain. *

* * @return The name of a domain. */ public String getDomainName() { return this.domainName; } /** *

* The name of a domain. *

* * @param domainName * The name of a domain. * @return Returns a reference to this object so that method calls can be chained together. */ public GetOperationDetailResult withDomainName(String domainName) { setDomainName(domainName); return this; } /** *

* The type of operation that was requested. *

* * @param type * The type of operation that was requested. * @see OperationType */ public void setType(String type) { this.type = type; } /** *

* The type of operation that was requested. *

* * @return The type of operation that was requested. * @see OperationType */ public String getType() { return this.type; } /** *

* The type of operation that was requested. *

* * @param type * The type of operation that was requested. * @return Returns a reference to this object so that method calls can be chained together. * @see OperationType */ public GetOperationDetailResult withType(String type) { setType(type); return this; } /** *

* The type of operation that was requested. *

* * @param type * The type of operation that was requested. * @see OperationType */ public void setType(OperationType type) { withType(type); } /** *

* The type of operation that was requested. *

* * @param type * The type of operation that was requested. * @return Returns a reference to this object so that method calls can be chained together. * @see OperationType */ public GetOperationDetailResult withType(OperationType type) { this.type = type.toString(); return this; } /** *

* The date when the request was submitted. *

* * @param submittedDate * The date when the request was submitted. */ public void setSubmittedDate(java.util.Date submittedDate) { this.submittedDate = submittedDate; } /** *

* The date when the request was submitted. *

* * @return The date when the request was submitted. */ public java.util.Date getSubmittedDate() { return this.submittedDate; } /** *

* The date when the request was submitted. *

* * @param submittedDate * The date when the request was submitted. * @return Returns a reference to this object so that method calls can be chained together. */ public GetOperationDetailResult withSubmittedDate(java.util.Date submittedDate) { setSubmittedDate(submittedDate); return this; } /** *

* The date when the operation was last updated. *

* * @param lastUpdatedDate * The date when the operation was last updated. */ public void setLastUpdatedDate(java.util.Date lastUpdatedDate) { this.lastUpdatedDate = lastUpdatedDate; } /** *

* The date when the operation was last updated. *

* * @return The date when the operation was last updated. */ public java.util.Date getLastUpdatedDate() { return this.lastUpdatedDate; } /** *

* The date when the operation was last updated. *

* * @param lastUpdatedDate * The date when the operation was last updated. * @return Returns a reference to this object so that method calls can be chained together. */ public GetOperationDetailResult withLastUpdatedDate(java.util.Date lastUpdatedDate) { setLastUpdatedDate(lastUpdatedDate); return this; } /** *

* Lists any outstanding operations that require customer action. Valid values are: *

* * * @param statusFlag * Lists any outstanding operations that require customer action. Valid values are:

*