Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
software.amazon.awssdk.services.customerprofiles.model.UpdateDomainResponse Maven / Gradle / Ivy
Go to download
The AWS Java SDK for Customer Profiles module holds the client classes that are used for
communicating with Customer Profiles.
/*
* Copyright 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 software.amazon.awssdk.services.customerprofiles.model;
import java.time.Instant;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import java.util.function.BiConsumer;
import java.util.function.Consumer;
import java.util.function.Function;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.core.SdkField;
import software.amazon.awssdk.core.SdkPojo;
import software.amazon.awssdk.core.protocol.MarshallLocation;
import software.amazon.awssdk.core.protocol.MarshallingType;
import software.amazon.awssdk.core.traits.LocationTrait;
import software.amazon.awssdk.core.traits.MapTrait;
import software.amazon.awssdk.core.util.DefaultSdkAutoConstructMap;
import software.amazon.awssdk.core.util.SdkAutoConstructMap;
import software.amazon.awssdk.utils.ToString;
import software.amazon.awssdk.utils.builder.CopyableBuilder;
import software.amazon.awssdk.utils.builder.ToCopyableBuilder;
/**
*/
@Generated("software.amazon.awssdk:codegen")
public final class UpdateDomainResponse extends CustomerProfilesResponse implements
ToCopyableBuilder {
private static final SdkField DOMAIN_NAME_FIELD = SdkField. builder(MarshallingType.STRING)
.memberName("DomainName").getter(getter(UpdateDomainResponse::domainName)).setter(setter(Builder::domainName))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("DomainName").build()).build();
private static final SdkField DEFAULT_EXPIRATION_DAYS_FIELD = SdkField. builder(MarshallingType.INTEGER)
.memberName("DefaultExpirationDays").getter(getter(UpdateDomainResponse::defaultExpirationDays))
.setter(setter(Builder::defaultExpirationDays))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("DefaultExpirationDays").build())
.build();
private static final SdkField DEFAULT_ENCRYPTION_KEY_FIELD = SdkField. builder(MarshallingType.STRING)
.memberName("DefaultEncryptionKey").getter(getter(UpdateDomainResponse::defaultEncryptionKey))
.setter(setter(Builder::defaultEncryptionKey))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("DefaultEncryptionKey").build())
.build();
private static final SdkField DEAD_LETTER_QUEUE_URL_FIELD = SdkField. builder(MarshallingType.STRING)
.memberName("DeadLetterQueueUrl").getter(getter(UpdateDomainResponse::deadLetterQueueUrl))
.setter(setter(Builder::deadLetterQueueUrl))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("DeadLetterQueueUrl").build())
.build();
private static final SdkField MATCHING_FIELD = SdkField
. builder(MarshallingType.SDK_POJO).memberName("Matching")
.getter(getter(UpdateDomainResponse::matching)).setter(setter(Builder::matching))
.constructor(MatchingResponse::builder)
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("Matching").build()).build();
private static final SdkField RULE_BASED_MATCHING_FIELD = SdkField
. builder(MarshallingType.SDK_POJO).memberName("RuleBasedMatching")
.getter(getter(UpdateDomainResponse::ruleBasedMatching)).setter(setter(Builder::ruleBasedMatching))
.constructor(RuleBasedMatchingResponse::builder)
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("RuleBasedMatching").build()).build();
private static final SdkField CREATED_AT_FIELD = SdkField. builder(MarshallingType.INSTANT)
.memberName("CreatedAt").getter(getter(UpdateDomainResponse::createdAt)).setter(setter(Builder::createdAt))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("CreatedAt").build()).build();
private static final SdkField LAST_UPDATED_AT_FIELD = SdkField. builder(MarshallingType.INSTANT)
.memberName("LastUpdatedAt").getter(getter(UpdateDomainResponse::lastUpdatedAt))
.setter(setter(Builder::lastUpdatedAt))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("LastUpdatedAt").build()).build();
private static final SdkField> TAGS_FIELD = SdkField
.> builder(MarshallingType.MAP)
.memberName("Tags")
.getter(getter(UpdateDomainResponse::tags))
.setter(setter(Builder::tags))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("Tags").build(),
MapTrait.builder()
.keyLocationName("key")
.valueLocationName("value")
.valueFieldInfo(
SdkField. builder(MarshallingType.STRING)
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD)
.locationName("value").build()).build()).build()).build();
private static final List> SDK_FIELDS = Collections.unmodifiableList(Arrays.asList(DOMAIN_NAME_FIELD,
DEFAULT_EXPIRATION_DAYS_FIELD, DEFAULT_ENCRYPTION_KEY_FIELD, DEAD_LETTER_QUEUE_URL_FIELD, MATCHING_FIELD,
RULE_BASED_MATCHING_FIELD, CREATED_AT_FIELD, LAST_UPDATED_AT_FIELD, TAGS_FIELD));
private final String domainName;
private final Integer defaultExpirationDays;
private final String defaultEncryptionKey;
private final String deadLetterQueueUrl;
private final MatchingResponse matching;
private final RuleBasedMatchingResponse ruleBasedMatching;
private final Instant createdAt;
private final Instant lastUpdatedAt;
private final Map tags;
private UpdateDomainResponse(BuilderImpl builder) {
super(builder);
this.domainName = builder.domainName;
this.defaultExpirationDays = builder.defaultExpirationDays;
this.defaultEncryptionKey = builder.defaultEncryptionKey;
this.deadLetterQueueUrl = builder.deadLetterQueueUrl;
this.matching = builder.matching;
this.ruleBasedMatching = builder.ruleBasedMatching;
this.createdAt = builder.createdAt;
this.lastUpdatedAt = builder.lastUpdatedAt;
this.tags = builder.tags;
}
/**
*
* The unique name of the domain.
*
*
* @return The unique name of the domain.
*/
public final String domainName() {
return domainName;
}
/**
*
* 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 final Integer defaultExpirationDays() {
return 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.
*
*
* @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 final String defaultEncryptionKey() {
return defaultEncryptionKey;
}
/**
*
* 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 final String deadLetterQueueUrl() {
return 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.
*
*
* @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 final MatchingResponse matching() {
return matching;
}
/**
*
* The process of matching duplicate profiles using the rule-Based matching. If RuleBasedMatching
=
* true, Amazon Connect Customer Profiles will start to match and merge your profiles according to your
* configuration in the RuleBasedMatchingRequest
. You can use the ListRuleBasedMatches
and
* GetSimilarProfiles
API to return and review the results. Also, if you have configured
* ExportingConfig
in the RuleBasedMatchingRequest
, you can download the results from S3.
*
*
* @return The process of matching duplicate profiles using the rule-Based matching. If
* RuleBasedMatching
= true, Amazon Connect Customer Profiles will start to match and merge
* your profiles according to your configuration in the RuleBasedMatchingRequest
. You can use
* the ListRuleBasedMatches
and GetSimilarProfiles
API to return and review the
* results. Also, if you have configured ExportingConfig
in the
* RuleBasedMatchingRequest
, you can download the results from S3.
*/
public final RuleBasedMatchingResponse ruleBasedMatching() {
return ruleBasedMatching;
}
/**
*
* The timestamp of when the domain was created.
*
*
* @return The timestamp of when the domain was created.
*/
public final Instant createdAt() {
return createdAt;
}
/**
*
* The timestamp of when the domain was most recently edited.
*
*
* @return The timestamp of when the domain was most recently edited.
*/
public final Instant lastUpdatedAt() {
return lastUpdatedAt;
}
/**
* For responses, this returns true if the service returned a value for the Tags property. This DOES NOT check that
* the value is non-empty (for which, you should check the {@code isEmpty()} method on the property). This is useful
* because the SDK will never return a null collection or map, but you may need to differentiate between the service
* returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
* if a value for the property was specified in the request builder, and false if a value was not specified.
*/
public final boolean hasTags() {
return tags != null && !(tags instanceof SdkAutoConstructMap);
}
/**
*
* The tags used to organize, track, or control access for this resource.
*
*
* Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
*
*
* This method will never return null. If you would like to know whether the service returned this field (so that
* you can differentiate between null and empty), you can use the {@link #hasTags} method.
*
*
* @return The tags used to organize, track, or control access for this resource.
*/
public final Map tags() {
return tags;
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
public static Builder builder() {
return new BuilderImpl();
}
public static Class extends Builder> serializableBuilderClass() {
return BuilderImpl.class;
}
@Override
public final int hashCode() {
int hashCode = 1;
hashCode = 31 * hashCode + super.hashCode();
hashCode = 31 * hashCode + Objects.hashCode(domainName());
hashCode = 31 * hashCode + Objects.hashCode(defaultExpirationDays());
hashCode = 31 * hashCode + Objects.hashCode(defaultEncryptionKey());
hashCode = 31 * hashCode + Objects.hashCode(deadLetterQueueUrl());
hashCode = 31 * hashCode + Objects.hashCode(matching());
hashCode = 31 * hashCode + Objects.hashCode(ruleBasedMatching());
hashCode = 31 * hashCode + Objects.hashCode(createdAt());
hashCode = 31 * hashCode + Objects.hashCode(lastUpdatedAt());
hashCode = 31 * hashCode + Objects.hashCode(hasTags() ? tags() : null);
return hashCode;
}
@Override
public final boolean equals(Object obj) {
return super.equals(obj) && equalsBySdkFields(obj);
}
@Override
public final boolean equalsBySdkFields(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (!(obj instanceof UpdateDomainResponse)) {
return false;
}
UpdateDomainResponse other = (UpdateDomainResponse) obj;
return Objects.equals(domainName(), other.domainName())
&& Objects.equals(defaultExpirationDays(), other.defaultExpirationDays())
&& Objects.equals(defaultEncryptionKey(), other.defaultEncryptionKey())
&& Objects.equals(deadLetterQueueUrl(), other.deadLetterQueueUrl())
&& Objects.equals(matching(), other.matching()) && Objects.equals(ruleBasedMatching(), other.ruleBasedMatching())
&& Objects.equals(createdAt(), other.createdAt()) && Objects.equals(lastUpdatedAt(), other.lastUpdatedAt())
&& hasTags() == other.hasTags() && Objects.equals(tags(), other.tags());
}
/**
* 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.
*/
@Override
public final String toString() {
return ToString.builder("UpdateDomainResponse").add("DomainName", domainName())
.add("DefaultExpirationDays", defaultExpirationDays()).add("DefaultEncryptionKey", defaultEncryptionKey())
.add("DeadLetterQueueUrl", deadLetterQueueUrl()).add("Matching", matching())
.add("RuleBasedMatching", ruleBasedMatching()).add("CreatedAt", createdAt())
.add("LastUpdatedAt", lastUpdatedAt()).add("Tags", hasTags() ? tags() : null).build();
}
public final Optional getValueForField(String fieldName, Class clazz) {
switch (fieldName) {
case "DomainName":
return Optional.ofNullable(clazz.cast(domainName()));
case "DefaultExpirationDays":
return Optional.ofNullable(clazz.cast(defaultExpirationDays()));
case "DefaultEncryptionKey":
return Optional.ofNullable(clazz.cast(defaultEncryptionKey()));
case "DeadLetterQueueUrl":
return Optional.ofNullable(clazz.cast(deadLetterQueueUrl()));
case "Matching":
return Optional.ofNullable(clazz.cast(matching()));
case "RuleBasedMatching":
return Optional.ofNullable(clazz.cast(ruleBasedMatching()));
case "CreatedAt":
return Optional.ofNullable(clazz.cast(createdAt()));
case "LastUpdatedAt":
return Optional.ofNullable(clazz.cast(lastUpdatedAt()));
case "Tags":
return Optional.ofNullable(clazz.cast(tags()));
default:
return Optional.empty();
}
}
@Override
public final List> sdkFields() {
return SDK_FIELDS;
}
private static Function getter(Function g) {
return obj -> g.apply((UpdateDomainResponse) obj);
}
private static BiConsumer setter(BiConsumer s) {
return (obj, val) -> s.accept((Builder) obj, val);
}
public interface Builder extends CustomerProfilesResponse.Builder, SdkPojo, CopyableBuilder {
/**
*
* 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.
*/
Builder domainName(String domainName);
/**
*
* 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.
*/
Builder defaultExpirationDays(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.
*
*
* @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.
*/
Builder defaultEncryptionKey(String defaultEncryptionKey);
/**
*
* 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.
*/
Builder deadLetterQueueUrl(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.
*
*
* @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.
*/
Builder matching(MatchingResponse 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.
*
* This is a convenience method that creates an instance of the {@link MatchingResponse.Builder} avoiding the
* need to create one manually via {@link MatchingResponse#builder()}.
*
*
* When the {@link Consumer} completes, {@link MatchingResponse.Builder#build()} is called immediately and its
* result is passed to {@link #matching(MatchingResponse)}.
*
* @param matching
* a consumer that will call methods on {@link MatchingResponse.Builder}
* @return Returns a reference to this object so that method calls can be chained together.
* @see #matching(MatchingResponse)
*/
default Builder matching(Consumer matching) {
return matching(MatchingResponse.builder().applyMutation(matching).build());
}
/**
*
* The process of matching duplicate profiles using the rule-Based matching. If RuleBasedMatching
=
* true, Amazon Connect Customer Profiles will start to match and merge your profiles according to your
* configuration in the RuleBasedMatchingRequest
. You can use the ListRuleBasedMatches
* and GetSimilarProfiles
API to return and review the results. Also, if you have configured
* ExportingConfig
in the RuleBasedMatchingRequest
, you can download the results from
* S3.
*
*
* @param ruleBasedMatching
* The process of matching duplicate profiles using the rule-Based matching. If
* RuleBasedMatching
= true, Amazon Connect Customer Profiles will start to match and merge
* your profiles according to your configuration in the RuleBasedMatchingRequest
. You can
* use the ListRuleBasedMatches
and GetSimilarProfiles
API to return and review
* the results. Also, if you have configured ExportingConfig
in the
* RuleBasedMatchingRequest
, you can download the results from S3.
* @return Returns a reference to this object so that method calls can be chained together.
*/
Builder ruleBasedMatching(RuleBasedMatchingResponse ruleBasedMatching);
/**
*
* The process of matching duplicate profiles using the rule-Based matching. If RuleBasedMatching
=
* true, Amazon Connect Customer Profiles will start to match and merge your profiles according to your
* configuration in the RuleBasedMatchingRequest
. You can use the ListRuleBasedMatches
* and GetSimilarProfiles
API to return and review the results. Also, if you have configured
* ExportingConfig
in the RuleBasedMatchingRequest
, you can download the results from
* S3.
*
* This is a convenience method that creates an instance of the {@link RuleBasedMatchingResponse.Builder}
* avoiding the need to create one manually via {@link RuleBasedMatchingResponse#builder()}.
*
*
* When the {@link Consumer} completes, {@link RuleBasedMatchingResponse.Builder#build()} is called immediately
* and its result is passed to {@link #ruleBasedMatching(RuleBasedMatchingResponse)}.
*
* @param ruleBasedMatching
* a consumer that will call methods on {@link RuleBasedMatchingResponse.Builder}
* @return Returns a reference to this object so that method calls can be chained together.
* @see #ruleBasedMatching(RuleBasedMatchingResponse)
*/
default Builder ruleBasedMatching(Consumer ruleBasedMatching) {
return ruleBasedMatching(RuleBasedMatchingResponse.builder().applyMutation(ruleBasedMatching).build());
}
/**
*
* 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.
*/
Builder createdAt(Instant createdAt);
/**
*
* 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.
*/
Builder lastUpdatedAt(Instant lastUpdatedAt);
/**
*
* 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.
*/
Builder tags(Map tags);
}
static final class BuilderImpl extends CustomerProfilesResponse.BuilderImpl implements Builder {
private String domainName;
private Integer defaultExpirationDays;
private String defaultEncryptionKey;
private String deadLetterQueueUrl;
private MatchingResponse matching;
private RuleBasedMatchingResponse ruleBasedMatching;
private Instant createdAt;
private Instant lastUpdatedAt;
private Map tags = DefaultSdkAutoConstructMap.getInstance();
private BuilderImpl() {
}
private BuilderImpl(UpdateDomainResponse model) {
super(model);
domainName(model.domainName);
defaultExpirationDays(model.defaultExpirationDays);
defaultEncryptionKey(model.defaultEncryptionKey);
deadLetterQueueUrl(model.deadLetterQueueUrl);
matching(model.matching);
ruleBasedMatching(model.ruleBasedMatching);
createdAt(model.createdAt);
lastUpdatedAt(model.lastUpdatedAt);
tags(model.tags);
}
public final String getDomainName() {
return domainName;
}
public final void setDomainName(String domainName) {
this.domainName = domainName;
}
@Override
public final Builder domainName(String domainName) {
this.domainName = domainName;
return this;
}
public final Integer getDefaultExpirationDays() {
return defaultExpirationDays;
}
public final void setDefaultExpirationDays(Integer defaultExpirationDays) {
this.defaultExpirationDays = defaultExpirationDays;
}
@Override
public final Builder defaultExpirationDays(Integer defaultExpirationDays) {
this.defaultExpirationDays = defaultExpirationDays;
return this;
}
public final String getDefaultEncryptionKey() {
return defaultEncryptionKey;
}
public final void setDefaultEncryptionKey(String defaultEncryptionKey) {
this.defaultEncryptionKey = defaultEncryptionKey;
}
@Override
public final Builder defaultEncryptionKey(String defaultEncryptionKey) {
this.defaultEncryptionKey = defaultEncryptionKey;
return this;
}
public final String getDeadLetterQueueUrl() {
return deadLetterQueueUrl;
}
public final void setDeadLetterQueueUrl(String deadLetterQueueUrl) {
this.deadLetterQueueUrl = deadLetterQueueUrl;
}
@Override
public final Builder deadLetterQueueUrl(String deadLetterQueueUrl) {
this.deadLetterQueueUrl = deadLetterQueueUrl;
return this;
}
public final MatchingResponse.Builder getMatching() {
return matching != null ? matching.toBuilder() : null;
}
public final void setMatching(MatchingResponse.BuilderImpl matching) {
this.matching = matching != null ? matching.build() : null;
}
@Override
public final Builder matching(MatchingResponse matching) {
this.matching = matching;
return this;
}
public final RuleBasedMatchingResponse.Builder getRuleBasedMatching() {
return ruleBasedMatching != null ? ruleBasedMatching.toBuilder() : null;
}
public final void setRuleBasedMatching(RuleBasedMatchingResponse.BuilderImpl ruleBasedMatching) {
this.ruleBasedMatching = ruleBasedMatching != null ? ruleBasedMatching.build() : null;
}
@Override
public final Builder ruleBasedMatching(RuleBasedMatchingResponse ruleBasedMatching) {
this.ruleBasedMatching = ruleBasedMatching;
return this;
}
public final Instant getCreatedAt() {
return createdAt;
}
public final void setCreatedAt(Instant createdAt) {
this.createdAt = createdAt;
}
@Override
public final Builder createdAt(Instant createdAt) {
this.createdAt = createdAt;
return this;
}
public final Instant getLastUpdatedAt() {
return lastUpdatedAt;
}
public final void setLastUpdatedAt(Instant lastUpdatedAt) {
this.lastUpdatedAt = lastUpdatedAt;
}
@Override
public final Builder lastUpdatedAt(Instant lastUpdatedAt) {
this.lastUpdatedAt = lastUpdatedAt;
return this;
}
public final Map getTags() {
if (tags instanceof SdkAutoConstructMap) {
return null;
}
return tags;
}
public final void setTags(Map tags) {
this.tags = TagMapCopier.copy(tags);
}
@Override
public final Builder tags(Map tags) {
this.tags = TagMapCopier.copy(tags);
return this;
}
@Override
public UpdateDomainResponse build() {
return new UpdateDomainResponse(this);
}
@Override
public List> sdkFields() {
return SDK_FIELDS;
}
}
}