All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.customerprofiles.model.UpdateDomainResult Maven / Gradle / Ivy

/*
 * 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.customerprofiles.model;

import java.io.Serializable;
import javax.annotation.Generated;

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

    /**
     * 

* The unique name of the domain. *

*/ private String domainName; /** *

* The default number of days until the data within the domain expires. *

*/ private Integer defaultExpirationDays; /** *

* The default encryption key, which is an AWS managed key, is used when no specific type of encryption key is * specified. It is used to encrypt all data before it is placed in permanent or semi-permanent storage. *

*/ private String defaultEncryptionKey; /** *

* The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from * third party applications. *

*/ private String deadLetterQueueUrl; /** *

* The process of matching duplicate profiles. If Matching = true, Amazon Connect Customer * Profiles starts a weekly batch process called Identity Resolution Job. If you do not specify a date and time for * Identity Resolution Job to run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles in * your domains. *

*

* After the Identity Resolution Job completes, use the GetMatches API to * return and review the results. Or, if you have configured ExportingConfig in the * MatchingRequest, you can download the results from S3. *

*/ private MatchingResponse matching; /** *

* The timestamp of when the domain was created. *

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

* The timestamp of when the domain was most recently edited. *

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

* The tags used to organize, track, or control access for this resource. *

*/ private java.util.Map tags; /** *

* The unique name of the domain. *

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

* The unique name of the domain. *

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

* The unique name of the domain. *

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

* The default number of days until the data within the domain expires. *

* * @param defaultExpirationDays * The default number of days until the data within the domain expires. */ public void setDefaultExpirationDays(Integer defaultExpirationDays) { this.defaultExpirationDays = defaultExpirationDays; } /** *

* The default number of days until the data within the domain expires. *

* * @return The default number of days until the data within the domain expires. */ public Integer getDefaultExpirationDays() { return this.defaultExpirationDays; } /** *

* The default number of days until the data within the domain expires. *

* * @param defaultExpirationDays * The default number of days until the data within the domain expires. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDomainResult withDefaultExpirationDays(Integer defaultExpirationDays) { setDefaultExpirationDays(defaultExpirationDays); return this; } /** *

* The default encryption key, which is an AWS managed key, is used when no specific type of encryption key is * specified. It is used to encrypt all data before it is placed in permanent or semi-permanent storage. *

* * @param defaultEncryptionKey * The default encryption key, which is an AWS managed key, is used when no specific type of encryption key * is specified. It is used to encrypt all data before it is placed in permanent or semi-permanent storage. */ public void setDefaultEncryptionKey(String defaultEncryptionKey) { this.defaultEncryptionKey = defaultEncryptionKey; } /** *

* The default encryption key, which is an AWS managed key, is used when no specific type of encryption key is * specified. It is used to encrypt all data before it is placed in permanent or semi-permanent storage. *

* * @return The default encryption key, which is an AWS managed key, is used when no specific type of encryption key * is specified. It is used to encrypt all data before it is placed in permanent or semi-permanent storage. */ public String getDefaultEncryptionKey() { return this.defaultEncryptionKey; } /** *

* The default encryption key, which is an AWS managed key, is used when no specific type of encryption key is * specified. It is used to encrypt all data before it is placed in permanent or semi-permanent storage. *

* * @param defaultEncryptionKey * The default encryption key, which is an AWS managed key, is used when no specific type of encryption key * is specified. It is used to encrypt all data before it is placed in permanent or semi-permanent storage. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDomainResult withDefaultEncryptionKey(String defaultEncryptionKey) { setDefaultEncryptionKey(defaultEncryptionKey); return this; } /** *

* The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from * third party applications. *

* * @param deadLetterQueueUrl * The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data * from third party applications. */ public void setDeadLetterQueueUrl(String deadLetterQueueUrl) { this.deadLetterQueueUrl = deadLetterQueueUrl; } /** *

* The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from * third party applications. *

* * @return The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data * from third party applications. */ public String getDeadLetterQueueUrl() { return this.deadLetterQueueUrl; } /** *

* The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from * third party applications. *

* * @param deadLetterQueueUrl * The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data * from third party applications. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDomainResult withDeadLetterQueueUrl(String deadLetterQueueUrl) { setDeadLetterQueueUrl(deadLetterQueueUrl); return this; } /** *

* The process of matching duplicate profiles. If Matching = true, Amazon Connect Customer * Profiles starts a weekly batch process called Identity Resolution Job. If you do not specify a date and time for * Identity Resolution Job to run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles in * your domains. *

*

* After the Identity Resolution Job completes, use the GetMatches API to * return and review the results. Or, if you have configured ExportingConfig in the * MatchingRequest, you can download the results from S3. *

* * @param matching * The process of matching duplicate profiles. If Matching = true, Amazon Connect * Customer Profiles starts a weekly batch process called Identity Resolution Job. If you do not specify a * date and time for Identity Resolution Job to run, by default it runs every Saturday at 12AM UTC to detect * duplicate profiles in your domains.

*

* After the Identity Resolution Job completes, use the GetMatches * API to return and review the results. Or, if you have configured ExportingConfig in the * MatchingRequest, you can download the results from S3. */ public void setMatching(MatchingResponse matching) { this.matching = matching; } /** *

* The process of matching duplicate profiles. If Matching = true, Amazon Connect Customer * Profiles starts a weekly batch process called Identity Resolution Job. If you do not specify a date and time for * Identity Resolution Job to run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles in * your domains. *

*

* After the Identity Resolution Job completes, use the GetMatches API to * return and review the results. Or, if you have configured ExportingConfig in the * MatchingRequest, you can download the results from S3. *

* * @return The process of matching duplicate profiles. If Matching = true, Amazon Connect * Customer Profiles starts a weekly batch process called Identity Resolution Job. If you do not specify a * date and time for Identity Resolution Job to run, by default it runs every Saturday at 12AM UTC to detect * duplicate profiles in your domains.

*

* After the Identity Resolution Job completes, use the GetMatches API to return and review the results. Or, if you have configured * ExportingConfig in the MatchingRequest, you can download the results from S3. */ public MatchingResponse getMatching() { return this.matching; } /** *

* The process of matching duplicate profiles. If Matching = true, Amazon Connect Customer * Profiles starts a weekly batch process called Identity Resolution Job. If you do not specify a date and time for * Identity Resolution Job to run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles in * your domains. *

*

* After the Identity Resolution Job completes, use the GetMatches API to * return and review the results. Or, if you have configured ExportingConfig in the * MatchingRequest, you can download the results from S3. *

* * @param matching * The process of matching duplicate profiles. If Matching = true, Amazon Connect * Customer Profiles starts a weekly batch process called Identity Resolution Job. If you do not specify a * date and time for Identity Resolution Job to run, by default it runs every Saturday at 12AM UTC to detect * duplicate profiles in your domains.

*

* After the Identity Resolution Job completes, use the GetMatches * API to return and review the results. Or, if you have configured ExportingConfig in the * MatchingRequest, you can download the results from S3. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDomainResult withMatching(MatchingResponse matching) { setMatching(matching); return this; } /** *

* The timestamp of when the domain was created. *

* * @param createdAt * The timestamp of when the domain was created. */ public void setCreatedAt(java.util.Date createdAt) { this.createdAt = createdAt; } /** *

* The timestamp of when the domain was created. *

* * @return The timestamp of when the domain was created. */ public java.util.Date getCreatedAt() { return this.createdAt; } /** *

* The timestamp of when the domain was created. *

* * @param createdAt * The timestamp of when the domain was created. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDomainResult withCreatedAt(java.util.Date createdAt) { setCreatedAt(createdAt); return this; } /** *

* The timestamp of when the domain was most recently edited. *

* * @param lastUpdatedAt * The timestamp of when the domain was most recently edited. */ public void setLastUpdatedAt(java.util.Date lastUpdatedAt) { this.lastUpdatedAt = lastUpdatedAt; } /** *

* The timestamp of when the domain was most recently edited. *

* * @return The timestamp of when the domain was most recently edited. */ public java.util.Date getLastUpdatedAt() { return this.lastUpdatedAt; } /** *

* The timestamp of when the domain was most recently edited. *

* * @param lastUpdatedAt * The timestamp of when the domain was most recently edited. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDomainResult withLastUpdatedAt(java.util.Date lastUpdatedAt) { setLastUpdatedAt(lastUpdatedAt); return this; } /** *

* The tags used to organize, track, or control access for this resource. *

* * @return The tags used to organize, track, or control access for this resource. */ public java.util.Map getTags() { return tags; } /** *

* The tags used to organize, track, or control access for this resource. *

* * @param tags * The tags used to organize, track, or control access for this resource. */ public void setTags(java.util.Map tags) { this.tags = tags; } /** *

* The tags used to organize, track, or control access for this resource. *

* * @param tags * The tags used to organize, track, or control access for this resource. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDomainResult withTags(java.util.Map tags) { setTags(tags); return this; } /** * Add a single Tags entry * * @see UpdateDomainResult#withTags * @returns a reference to this object so that method calls can be chained together. */ public UpdateDomainResult addTagsEntry(String key, String value) { if (null == this.tags) { this.tags = new java.util.HashMap(); } if (this.tags.containsKey(key)) throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); this.tags.put(key, value); return this; } /** * Removes all the entries added into Tags. * * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDomainResult clearTagsEntries() { this.tags = null; return this; } /** * 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. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getDomainName() != null) sb.append("DomainName: ").append(getDomainName()).append(","); if (getDefaultExpirationDays() != null) sb.append("DefaultExpirationDays: ").append(getDefaultExpirationDays()).append(","); if (getDefaultEncryptionKey() != null) sb.append("DefaultEncryptionKey: ").append(getDefaultEncryptionKey()).append(","); if (getDeadLetterQueueUrl() != null) sb.append("DeadLetterQueueUrl: ").append(getDeadLetterQueueUrl()).append(","); if (getMatching() != null) sb.append("Matching: ").append(getMatching()).append(","); if (getCreatedAt() != null) sb.append("CreatedAt: ").append(getCreatedAt()).append(","); if (getLastUpdatedAt() != null) sb.append("LastUpdatedAt: ").append(getLastUpdatedAt()).append(","); if (getTags() != null) sb.append("Tags: ").append(getTags()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof UpdateDomainResult == false) return false; UpdateDomainResult other = (UpdateDomainResult) obj; if (other.getDomainName() == null ^ this.getDomainName() == null) return false; if (other.getDomainName() != null && other.getDomainName().equals(this.getDomainName()) == false) return false; if (other.getDefaultExpirationDays() == null ^ this.getDefaultExpirationDays() == null) return false; if (other.getDefaultExpirationDays() != null && other.getDefaultExpirationDays().equals(this.getDefaultExpirationDays()) == false) return false; if (other.getDefaultEncryptionKey() == null ^ this.getDefaultEncryptionKey() == null) return false; if (other.getDefaultEncryptionKey() != null && other.getDefaultEncryptionKey().equals(this.getDefaultEncryptionKey()) == false) return false; if (other.getDeadLetterQueueUrl() == null ^ this.getDeadLetterQueueUrl() == null) return false; if (other.getDeadLetterQueueUrl() != null && other.getDeadLetterQueueUrl().equals(this.getDeadLetterQueueUrl()) == false) return false; if (other.getMatching() == null ^ this.getMatching() == null) return false; if (other.getMatching() != null && other.getMatching().equals(this.getMatching()) == false) return false; if (other.getCreatedAt() == null ^ this.getCreatedAt() == null) return false; if (other.getCreatedAt() != null && other.getCreatedAt().equals(this.getCreatedAt()) == false) return false; if (other.getLastUpdatedAt() == null ^ this.getLastUpdatedAt() == null) return false; if (other.getLastUpdatedAt() != null && other.getLastUpdatedAt().equals(this.getLastUpdatedAt()) == false) return false; if (other.getTags() == null ^ this.getTags() == null) return false; if (other.getTags() != null && other.getTags().equals(this.getTags()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getDomainName() == null) ? 0 : getDomainName().hashCode()); hashCode = prime * hashCode + ((getDefaultExpirationDays() == null) ? 0 : getDefaultExpirationDays().hashCode()); hashCode = prime * hashCode + ((getDefaultEncryptionKey() == null) ? 0 : getDefaultEncryptionKey().hashCode()); hashCode = prime * hashCode + ((getDeadLetterQueueUrl() == null) ? 0 : getDeadLetterQueueUrl().hashCode()); hashCode = prime * hashCode + ((getMatching() == null) ? 0 : getMatching().hashCode()); hashCode = prime * hashCode + ((getCreatedAt() == null) ? 0 : getCreatedAt().hashCode()); hashCode = prime * hashCode + ((getLastUpdatedAt() == null) ? 0 : getLastUpdatedAt().hashCode()); hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); return hashCode; } @Override public UpdateDomainResult clone() { try { return (UpdateDomainResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy