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

* The status of domain configuration option. *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class OptionStatus implements Serializable, Cloneable { /** *

* A timestamp for when this option was created. *

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

* A timestamp for when this option was last updated. *

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

* A unique integer that indicates when this option was last updated. *

*/ private Integer updateVersion; /** *

* The state of processing a change to an option. Possible values: *

* */ private String state; /** *

* Indicates that the option will be deleted once processing is complete. *

*/ private Boolean pendingDeletion; /** *

* A timestamp for when this option was created. *

* * @param creationDate * A timestamp for when this option was created. */ public void setCreationDate(java.util.Date creationDate) { this.creationDate = creationDate; } /** *

* A timestamp for when this option was created. *

* * @return A timestamp for when this option was created. */ public java.util.Date getCreationDate() { return this.creationDate; } /** *

* A timestamp for when this option was created. *

* * @param creationDate * A timestamp for when this option was created. * @return Returns a reference to this object so that method calls can be chained together. */ public OptionStatus withCreationDate(java.util.Date creationDate) { setCreationDate(creationDate); return this; } /** *

* A timestamp for when this option was last updated. *

* * @param updateDate * A timestamp for when this option was last updated. */ public void setUpdateDate(java.util.Date updateDate) { this.updateDate = updateDate; } /** *

* A timestamp for when this option was last updated. *

* * @return A timestamp for when this option was last updated. */ public java.util.Date getUpdateDate() { return this.updateDate; } /** *

* A timestamp for when this option was last updated. *

* * @param updateDate * A timestamp for when this option was last updated. * @return Returns a reference to this object so that method calls can be chained together. */ public OptionStatus withUpdateDate(java.util.Date updateDate) { setUpdateDate(updateDate); return this; } /** *

* A unique integer that indicates when this option was last updated. *

* * @param updateVersion * A unique integer that indicates when this option was last updated. */ public void setUpdateVersion(Integer updateVersion) { this.updateVersion = updateVersion; } /** *

* A unique integer that indicates when this option was last updated. *

* * @return A unique integer that indicates when this option was last updated. */ public Integer getUpdateVersion() { return this.updateVersion; } /** *

* A unique integer that indicates when this option was last updated. *

* * @param updateVersion * A unique integer that indicates when this option was last updated. * @return Returns a reference to this object so that method calls can be chained together. */ public OptionStatus withUpdateVersion(Integer updateVersion) { setUpdateVersion(updateVersion); return this; } /** *

* The state of processing a change to an option. Possible values: *

* * * @param state * The state of processing a change to an option. Possible values:

*