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

software.amazon.awssdk.services.sagemaker.model.DescribeDataQualityJobDefinitionResponse Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon SageMaker module holds the client classes that are used for communicating with Amazon SageMaker Service

There is a newer version: 2.29.39
Show newest version
/*
 * 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.sagemaker.model;

import java.beans.Transient;
import java.time.Instant;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
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.utils.ToString;
import software.amazon.awssdk.utils.builder.CopyableBuilder;
import software.amazon.awssdk.utils.builder.ToCopyableBuilder;

/**
 */
@Generated("software.amazon.awssdk:codegen")
public final class DescribeDataQualityJobDefinitionResponse extends SageMakerResponse implements
        ToCopyableBuilder {
    private static final SdkField JOB_DEFINITION_ARN_FIELD = SdkField. builder(MarshallingType.STRING)
            .memberName("JobDefinitionArn").getter(getter(DescribeDataQualityJobDefinitionResponse::jobDefinitionArn))
            .setter(setter(Builder::jobDefinitionArn))
            .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("JobDefinitionArn").build()).build();

    private static final SdkField JOB_DEFINITION_NAME_FIELD = SdkField. builder(MarshallingType.STRING)
            .memberName("JobDefinitionName").getter(getter(DescribeDataQualityJobDefinitionResponse::jobDefinitionName))
            .setter(setter(Builder::jobDefinitionName))
            .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("JobDefinitionName").build()).build();

    private static final SdkField CREATION_TIME_FIELD = SdkField. builder(MarshallingType.INSTANT)
            .memberName("CreationTime").getter(getter(DescribeDataQualityJobDefinitionResponse::creationTime))
            .setter(setter(Builder::creationTime))
            .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("CreationTime").build()).build();

    private static final SdkField DATA_QUALITY_BASELINE_CONFIG_FIELD = SdkField
            . builder(MarshallingType.SDK_POJO).memberName("DataQualityBaselineConfig")
            .getter(getter(DescribeDataQualityJobDefinitionResponse::dataQualityBaselineConfig))
            .setter(setter(Builder::dataQualityBaselineConfig)).constructor(DataQualityBaselineConfig::builder)
            .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("DataQualityBaselineConfig").build())
            .build();

    private static final SdkField DATA_QUALITY_APP_SPECIFICATION_FIELD = SdkField
            . builder(MarshallingType.SDK_POJO)
            .memberName("DataQualityAppSpecification")
            .getter(getter(DescribeDataQualityJobDefinitionResponse::dataQualityAppSpecification))
            .setter(setter(Builder::dataQualityAppSpecification))
            .constructor(DataQualityAppSpecification::builder)
            .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("DataQualityAppSpecification")
                    .build()).build();

    private static final SdkField DATA_QUALITY_JOB_INPUT_FIELD = SdkField
            . builder(MarshallingType.SDK_POJO).memberName("DataQualityJobInput")
            .getter(getter(DescribeDataQualityJobDefinitionResponse::dataQualityJobInput))
            .setter(setter(Builder::dataQualityJobInput)).constructor(DataQualityJobInput::builder)
            .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("DataQualityJobInput").build())
            .build();

    private static final SdkField DATA_QUALITY_JOB_OUTPUT_CONFIG_FIELD = SdkField
            . builder(MarshallingType.SDK_POJO)
            .memberName("DataQualityJobOutputConfig")
            .getter(getter(DescribeDataQualityJobDefinitionResponse::dataQualityJobOutputConfig))
            .setter(setter(Builder::dataQualityJobOutputConfig))
            .constructor(MonitoringOutputConfig::builder)
            .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("DataQualityJobOutputConfig").build())
            .build();

    private static final SdkField JOB_RESOURCES_FIELD = SdkField
            . builder(MarshallingType.SDK_POJO).memberName("JobResources")
            .getter(getter(DescribeDataQualityJobDefinitionResponse::jobResources)).setter(setter(Builder::jobResources))
            .constructor(MonitoringResources::builder)
            .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("JobResources").build()).build();

    private static final SdkField NETWORK_CONFIG_FIELD = SdkField
            . builder(MarshallingType.SDK_POJO).memberName("NetworkConfig")
            .getter(getter(DescribeDataQualityJobDefinitionResponse::networkConfig)).setter(setter(Builder::networkConfig))
            .constructor(MonitoringNetworkConfig::builder)
            .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("NetworkConfig").build()).build();

    private static final SdkField ROLE_ARN_FIELD = SdkField. builder(MarshallingType.STRING)
            .memberName("RoleArn").getter(getter(DescribeDataQualityJobDefinitionResponse::roleArn))
            .setter(setter(Builder::roleArn))
            .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("RoleArn").build()).build();

    private static final SdkField STOPPING_CONDITION_FIELD = SdkField
            . builder(MarshallingType.SDK_POJO).memberName("StoppingCondition")
            .getter(getter(DescribeDataQualityJobDefinitionResponse::stoppingCondition))
            .setter(setter(Builder::stoppingCondition)).constructor(MonitoringStoppingCondition::builder)
            .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("StoppingCondition").build()).build();

    private static final List> SDK_FIELDS = Collections.unmodifiableList(Arrays.asList(JOB_DEFINITION_ARN_FIELD,
            JOB_DEFINITION_NAME_FIELD, CREATION_TIME_FIELD, DATA_QUALITY_BASELINE_CONFIG_FIELD,
            DATA_QUALITY_APP_SPECIFICATION_FIELD, DATA_QUALITY_JOB_INPUT_FIELD, DATA_QUALITY_JOB_OUTPUT_CONFIG_FIELD,
            JOB_RESOURCES_FIELD, NETWORK_CONFIG_FIELD, ROLE_ARN_FIELD, STOPPING_CONDITION_FIELD));

    private final String jobDefinitionArn;

    private final String jobDefinitionName;

    private final Instant creationTime;

    private final DataQualityBaselineConfig dataQualityBaselineConfig;

    private final DataQualityAppSpecification dataQualityAppSpecification;

    private final DataQualityJobInput dataQualityJobInput;

    private final MonitoringOutputConfig dataQualityJobOutputConfig;

    private final MonitoringResources jobResources;

    private final MonitoringNetworkConfig networkConfig;

    private final String roleArn;

    private final MonitoringStoppingCondition stoppingCondition;

    private DescribeDataQualityJobDefinitionResponse(BuilderImpl builder) {
        super(builder);
        this.jobDefinitionArn = builder.jobDefinitionArn;
        this.jobDefinitionName = builder.jobDefinitionName;
        this.creationTime = builder.creationTime;
        this.dataQualityBaselineConfig = builder.dataQualityBaselineConfig;
        this.dataQualityAppSpecification = builder.dataQualityAppSpecification;
        this.dataQualityJobInput = builder.dataQualityJobInput;
        this.dataQualityJobOutputConfig = builder.dataQualityJobOutputConfig;
        this.jobResources = builder.jobResources;
        this.networkConfig = builder.networkConfig;
        this.roleArn = builder.roleArn;
        this.stoppingCondition = builder.stoppingCondition;
    }

    /**
     * 

* The Amazon Resource Name (ARN) of the data quality monitoring job definition. *

* * @return The Amazon Resource Name (ARN) of the data quality monitoring job definition. */ public final String jobDefinitionArn() { return jobDefinitionArn; } /** *

* The name of the data quality monitoring job definition. *

* * @return The name of the data quality monitoring job definition. */ public final String jobDefinitionName() { return jobDefinitionName; } /** *

* The time that the data quality monitoring job definition was created. *

* * @return The time that the data quality monitoring job definition was created. */ public final Instant creationTime() { return creationTime; } /** *

* The constraints and baselines for the data quality monitoring job definition. *

* * @return The constraints and baselines for the data quality monitoring job definition. */ public final DataQualityBaselineConfig dataQualityBaselineConfig() { return dataQualityBaselineConfig; } /** *

* Information about the container that runs the data quality monitoring job. *

* * @return Information about the container that runs the data quality monitoring job. */ public final DataQualityAppSpecification dataQualityAppSpecification() { return dataQualityAppSpecification; } /** *

* The list of inputs for the data quality monitoring job. Currently endpoints are supported. *

* * @return The list of inputs for the data quality monitoring job. Currently endpoints are supported. */ public final DataQualityJobInput dataQualityJobInput() { return dataQualityJobInput; } /** * Returns the value of the DataQualityJobOutputConfig property for this object. * * @return The value of the DataQualityJobOutputConfig property for this object. */ public final MonitoringOutputConfig dataQualityJobOutputConfig() { return dataQualityJobOutputConfig; } /** * Returns the value of the JobResources property for this object. * * @return The value of the JobResources property for this object. */ public final MonitoringResources jobResources() { return jobResources; } /** *

* The networking configuration for the data quality monitoring job. *

* * @return The networking configuration for the data quality monitoring job. */ public final MonitoringNetworkConfig networkConfig() { return networkConfig; } /** *

* The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf. *

* * @return The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your * behalf. */ public final String roleArn() { return roleArn; } /** * Returns the value of the StoppingCondition property for this object. * * @return The value of the StoppingCondition property for this object. */ public final MonitoringStoppingCondition stoppingCondition() { return stoppingCondition; } @Override public Builder toBuilder() { return new BuilderImpl(this); } public static Builder builder() { return new BuilderImpl(); } public static Class serializableBuilderClass() { return BuilderImpl.class; } @Override public final int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + super.hashCode(); hashCode = 31 * hashCode + Objects.hashCode(jobDefinitionArn()); hashCode = 31 * hashCode + Objects.hashCode(jobDefinitionName()); hashCode = 31 * hashCode + Objects.hashCode(creationTime()); hashCode = 31 * hashCode + Objects.hashCode(dataQualityBaselineConfig()); hashCode = 31 * hashCode + Objects.hashCode(dataQualityAppSpecification()); hashCode = 31 * hashCode + Objects.hashCode(dataQualityJobInput()); hashCode = 31 * hashCode + Objects.hashCode(dataQualityJobOutputConfig()); hashCode = 31 * hashCode + Objects.hashCode(jobResources()); hashCode = 31 * hashCode + Objects.hashCode(networkConfig()); hashCode = 31 * hashCode + Objects.hashCode(roleArn()); hashCode = 31 * hashCode + Objects.hashCode(stoppingCondition()); 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 DescribeDataQualityJobDefinitionResponse)) { return false; } DescribeDataQualityJobDefinitionResponse other = (DescribeDataQualityJobDefinitionResponse) obj; return Objects.equals(jobDefinitionArn(), other.jobDefinitionArn()) && Objects.equals(jobDefinitionName(), other.jobDefinitionName()) && Objects.equals(creationTime(), other.creationTime()) && Objects.equals(dataQualityBaselineConfig(), other.dataQualityBaselineConfig()) && Objects.equals(dataQualityAppSpecification(), other.dataQualityAppSpecification()) && Objects.equals(dataQualityJobInput(), other.dataQualityJobInput()) && Objects.equals(dataQualityJobOutputConfig(), other.dataQualityJobOutputConfig()) && Objects.equals(jobResources(), other.jobResources()) && Objects.equals(networkConfig(), other.networkConfig()) && Objects.equals(roleArn(), other.roleArn()) && Objects.equals(stoppingCondition(), other.stoppingCondition()); } /** * 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("DescribeDataQualityJobDefinitionResponse").add("JobDefinitionArn", jobDefinitionArn()) .add("JobDefinitionName", jobDefinitionName()).add("CreationTime", creationTime()) .add("DataQualityBaselineConfig", dataQualityBaselineConfig()) .add("DataQualityAppSpecification", dataQualityAppSpecification()) .add("DataQualityJobInput", dataQualityJobInput()) .add("DataQualityJobOutputConfig", dataQualityJobOutputConfig()).add("JobResources", jobResources()) .add("NetworkConfig", networkConfig()).add("RoleArn", roleArn()).add("StoppingCondition", stoppingCondition()) .build(); } public final Optional getValueForField(String fieldName, Class clazz) { switch (fieldName) { case "JobDefinitionArn": return Optional.ofNullable(clazz.cast(jobDefinitionArn())); case "JobDefinitionName": return Optional.ofNullable(clazz.cast(jobDefinitionName())); case "CreationTime": return Optional.ofNullable(clazz.cast(creationTime())); case "DataQualityBaselineConfig": return Optional.ofNullable(clazz.cast(dataQualityBaselineConfig())); case "DataQualityAppSpecification": return Optional.ofNullable(clazz.cast(dataQualityAppSpecification())); case "DataQualityJobInput": return Optional.ofNullable(clazz.cast(dataQualityJobInput())); case "DataQualityJobOutputConfig": return Optional.ofNullable(clazz.cast(dataQualityJobOutputConfig())); case "JobResources": return Optional.ofNullable(clazz.cast(jobResources())); case "NetworkConfig": return Optional.ofNullable(clazz.cast(networkConfig())); case "RoleArn": return Optional.ofNullable(clazz.cast(roleArn())); case "StoppingCondition": return Optional.ofNullable(clazz.cast(stoppingCondition())); default: return Optional.empty(); } } @Override public final List> sdkFields() { return SDK_FIELDS; } private static Function getter(Function g) { return obj -> g.apply((DescribeDataQualityJobDefinitionResponse) obj); } private static BiConsumer setter(BiConsumer s) { return (obj, val) -> s.accept((Builder) obj, val); } public interface Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder { /** *

* The Amazon Resource Name (ARN) of the data quality monitoring job definition. *

* * @param jobDefinitionArn * The Amazon Resource Name (ARN) of the data quality monitoring job definition. * @return Returns a reference to this object so that method calls can be chained together. */ Builder jobDefinitionArn(String jobDefinitionArn); /** *

* The name of the data quality monitoring job definition. *

* * @param jobDefinitionName * The name of the data quality monitoring job definition. * @return Returns a reference to this object so that method calls can be chained together. */ Builder jobDefinitionName(String jobDefinitionName); /** *

* The time that the data quality monitoring job definition was created. *

* * @param creationTime * The time that the data quality monitoring job definition was created. * @return Returns a reference to this object so that method calls can be chained together. */ Builder creationTime(Instant creationTime); /** *

* The constraints and baselines for the data quality monitoring job definition. *

* * @param dataQualityBaselineConfig * The constraints and baselines for the data quality monitoring job definition. * @return Returns a reference to this object so that method calls can be chained together. */ Builder dataQualityBaselineConfig(DataQualityBaselineConfig dataQualityBaselineConfig); /** *

* The constraints and baselines for the data quality monitoring job definition. *

* This is a convenience that creates an instance of the {@link DataQualityBaselineConfig.Builder} avoiding the * need to create one manually via {@link DataQualityBaselineConfig#builder()}. * * When the {@link Consumer} completes, {@link DataQualityBaselineConfig.Builder#build()} is called immediately * and its result is passed to {@link #dataQualityBaselineConfig(DataQualityBaselineConfig)}. * * @param dataQualityBaselineConfig * a consumer that will call methods on {@link DataQualityBaselineConfig.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #dataQualityBaselineConfig(DataQualityBaselineConfig) */ default Builder dataQualityBaselineConfig(Consumer dataQualityBaselineConfig) { return dataQualityBaselineConfig(DataQualityBaselineConfig.builder().applyMutation(dataQualityBaselineConfig).build()); } /** *

* Information about the container that runs the data quality monitoring job. *

* * @param dataQualityAppSpecification * Information about the container that runs the data quality monitoring job. * @return Returns a reference to this object so that method calls can be chained together. */ Builder dataQualityAppSpecification(DataQualityAppSpecification dataQualityAppSpecification); /** *

* Information about the container that runs the data quality monitoring job. *

* This is a convenience that creates an instance of the {@link DataQualityAppSpecification.Builder} avoiding * the need to create one manually via {@link DataQualityAppSpecification#builder()}. * * When the {@link Consumer} completes, {@link DataQualityAppSpecification.Builder#build()} is called * immediately and its result is passed to {@link #dataQualityAppSpecification(DataQualityAppSpecification)}. * * @param dataQualityAppSpecification * a consumer that will call methods on {@link DataQualityAppSpecification.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #dataQualityAppSpecification(DataQualityAppSpecification) */ default Builder dataQualityAppSpecification(Consumer dataQualityAppSpecification) { return dataQualityAppSpecification(DataQualityAppSpecification.builder().applyMutation(dataQualityAppSpecification) .build()); } /** *

* The list of inputs for the data quality monitoring job. Currently endpoints are supported. *

* * @param dataQualityJobInput * The list of inputs for the data quality monitoring job. Currently endpoints are supported. * @return Returns a reference to this object so that method calls can be chained together. */ Builder dataQualityJobInput(DataQualityJobInput dataQualityJobInput); /** *

* The list of inputs for the data quality monitoring job. Currently endpoints are supported. *

* This is a convenience that creates an instance of the {@link DataQualityJobInput.Builder} avoiding the need * to create one manually via {@link DataQualityJobInput#builder()}. * * When the {@link Consumer} completes, {@link DataQualityJobInput.Builder#build()} is called immediately and * its result is passed to {@link #dataQualityJobInput(DataQualityJobInput)}. * * @param dataQualityJobInput * a consumer that will call methods on {@link DataQualityJobInput.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #dataQualityJobInput(DataQualityJobInput) */ default Builder dataQualityJobInput(Consumer dataQualityJobInput) { return dataQualityJobInput(DataQualityJobInput.builder().applyMutation(dataQualityJobInput).build()); } /** * Sets the value of the DataQualityJobOutputConfig property for this object. * * @param dataQualityJobOutputConfig * The new value for the DataQualityJobOutputConfig property for this object. * @return Returns a reference to this object so that method calls can be chained together. */ Builder dataQualityJobOutputConfig(MonitoringOutputConfig dataQualityJobOutputConfig); /** * Sets the value of the DataQualityJobOutputConfig property for this object. * * This is a convenience that creates an instance of the {@link MonitoringOutputConfig.Builder} avoiding the * need to create one manually via {@link MonitoringOutputConfig#builder()}. * * When the {@link Consumer} completes, {@link MonitoringOutputConfig.Builder#build()} is called immediately and * its result is passed to {@link #dataQualityJobOutputConfig(MonitoringOutputConfig)}. * * @param dataQualityJobOutputConfig * a consumer that will call methods on {@link MonitoringOutputConfig.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #dataQualityJobOutputConfig(MonitoringOutputConfig) */ default Builder dataQualityJobOutputConfig(Consumer dataQualityJobOutputConfig) { return dataQualityJobOutputConfig(MonitoringOutputConfig.builder().applyMutation(dataQualityJobOutputConfig).build()); } /** * Sets the value of the JobResources property for this object. * * @param jobResources * The new value for the JobResources property for this object. * @return Returns a reference to this object so that method calls can be chained together. */ Builder jobResources(MonitoringResources jobResources); /** * Sets the value of the JobResources property for this object. * * This is a convenience that creates an instance of the {@link MonitoringResources.Builder} avoiding the need * to create one manually via {@link MonitoringResources#builder()}. * * When the {@link Consumer} completes, {@link MonitoringResources.Builder#build()} is called immediately and * its result is passed to {@link #jobResources(MonitoringResources)}. * * @param jobResources * a consumer that will call methods on {@link MonitoringResources.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #jobResources(MonitoringResources) */ default Builder jobResources(Consumer jobResources) { return jobResources(MonitoringResources.builder().applyMutation(jobResources).build()); } /** *

* The networking configuration for the data quality monitoring job. *

* * @param networkConfig * The networking configuration for the data quality monitoring job. * @return Returns a reference to this object so that method calls can be chained together. */ Builder networkConfig(MonitoringNetworkConfig networkConfig); /** *

* The networking configuration for the data quality monitoring job. *

* This is a convenience that creates an instance of the {@link MonitoringNetworkConfig.Builder} avoiding the * need to create one manually via {@link MonitoringNetworkConfig#builder()}. * * When the {@link Consumer} completes, {@link MonitoringNetworkConfig.Builder#build()} is called immediately * and its result is passed to {@link #networkConfig(MonitoringNetworkConfig)}. * * @param networkConfig * a consumer that will call methods on {@link MonitoringNetworkConfig.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #networkConfig(MonitoringNetworkConfig) */ default Builder networkConfig(Consumer networkConfig) { return networkConfig(MonitoringNetworkConfig.builder().applyMutation(networkConfig).build()); } /** *

* The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your * behalf. *

* * @param roleArn * The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on * your behalf. * @return Returns a reference to this object so that method calls can be chained together. */ Builder roleArn(String roleArn); /** * Sets the value of the StoppingCondition property for this object. * * @param stoppingCondition * The new value for the StoppingCondition property for this object. * @return Returns a reference to this object so that method calls can be chained together. */ Builder stoppingCondition(MonitoringStoppingCondition stoppingCondition); /** * Sets the value of the StoppingCondition property for this object. * * This is a convenience that creates an instance of the {@link MonitoringStoppingCondition.Builder} avoiding * the need to create one manually via {@link MonitoringStoppingCondition#builder()}. * * When the {@link Consumer} completes, {@link MonitoringStoppingCondition.Builder#build()} is called * immediately and its result is passed to {@link #stoppingCondition(MonitoringStoppingCondition)}. * * @param stoppingCondition * a consumer that will call methods on {@link MonitoringStoppingCondition.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #stoppingCondition(MonitoringStoppingCondition) */ default Builder stoppingCondition(Consumer stoppingCondition) { return stoppingCondition(MonitoringStoppingCondition.builder().applyMutation(stoppingCondition).build()); } } static final class BuilderImpl extends SageMakerResponse.BuilderImpl implements Builder { private String jobDefinitionArn; private String jobDefinitionName; private Instant creationTime; private DataQualityBaselineConfig dataQualityBaselineConfig; private DataQualityAppSpecification dataQualityAppSpecification; private DataQualityJobInput dataQualityJobInput; private MonitoringOutputConfig dataQualityJobOutputConfig; private MonitoringResources jobResources; private MonitoringNetworkConfig networkConfig; private String roleArn; private MonitoringStoppingCondition stoppingCondition; private BuilderImpl() { } private BuilderImpl(DescribeDataQualityJobDefinitionResponse model) { super(model); jobDefinitionArn(model.jobDefinitionArn); jobDefinitionName(model.jobDefinitionName); creationTime(model.creationTime); dataQualityBaselineConfig(model.dataQualityBaselineConfig); dataQualityAppSpecification(model.dataQualityAppSpecification); dataQualityJobInput(model.dataQualityJobInput); dataQualityJobOutputConfig(model.dataQualityJobOutputConfig); jobResources(model.jobResources); networkConfig(model.networkConfig); roleArn(model.roleArn); stoppingCondition(model.stoppingCondition); } public final String getJobDefinitionArn() { return jobDefinitionArn; } public final void setJobDefinitionArn(String jobDefinitionArn) { this.jobDefinitionArn = jobDefinitionArn; } @Override @Transient public final Builder jobDefinitionArn(String jobDefinitionArn) { this.jobDefinitionArn = jobDefinitionArn; return this; } public final String getJobDefinitionName() { return jobDefinitionName; } public final void setJobDefinitionName(String jobDefinitionName) { this.jobDefinitionName = jobDefinitionName; } @Override @Transient public final Builder jobDefinitionName(String jobDefinitionName) { this.jobDefinitionName = jobDefinitionName; return this; } public final Instant getCreationTime() { return creationTime; } public final void setCreationTime(Instant creationTime) { this.creationTime = creationTime; } @Override @Transient public final Builder creationTime(Instant creationTime) { this.creationTime = creationTime; return this; } public final DataQualityBaselineConfig.Builder getDataQualityBaselineConfig() { return dataQualityBaselineConfig != null ? dataQualityBaselineConfig.toBuilder() : null; } public final void setDataQualityBaselineConfig(DataQualityBaselineConfig.BuilderImpl dataQualityBaselineConfig) { this.dataQualityBaselineConfig = dataQualityBaselineConfig != null ? dataQualityBaselineConfig.build() : null; } @Override @Transient public final Builder dataQualityBaselineConfig(DataQualityBaselineConfig dataQualityBaselineConfig) { this.dataQualityBaselineConfig = dataQualityBaselineConfig; return this; } public final DataQualityAppSpecification.Builder getDataQualityAppSpecification() { return dataQualityAppSpecification != null ? dataQualityAppSpecification.toBuilder() : null; } public final void setDataQualityAppSpecification(DataQualityAppSpecification.BuilderImpl dataQualityAppSpecification) { this.dataQualityAppSpecification = dataQualityAppSpecification != null ? dataQualityAppSpecification.build() : null; } @Override @Transient public final Builder dataQualityAppSpecification(DataQualityAppSpecification dataQualityAppSpecification) { this.dataQualityAppSpecification = dataQualityAppSpecification; return this; } public final DataQualityJobInput.Builder getDataQualityJobInput() { return dataQualityJobInput != null ? dataQualityJobInput.toBuilder() : null; } public final void setDataQualityJobInput(DataQualityJobInput.BuilderImpl dataQualityJobInput) { this.dataQualityJobInput = dataQualityJobInput != null ? dataQualityJobInput.build() : null; } @Override @Transient public final Builder dataQualityJobInput(DataQualityJobInput dataQualityJobInput) { this.dataQualityJobInput = dataQualityJobInput; return this; } public final MonitoringOutputConfig.Builder getDataQualityJobOutputConfig() { return dataQualityJobOutputConfig != null ? dataQualityJobOutputConfig.toBuilder() : null; } public final void setDataQualityJobOutputConfig(MonitoringOutputConfig.BuilderImpl dataQualityJobOutputConfig) { this.dataQualityJobOutputConfig = dataQualityJobOutputConfig != null ? dataQualityJobOutputConfig.build() : null; } @Override @Transient public final Builder dataQualityJobOutputConfig(MonitoringOutputConfig dataQualityJobOutputConfig) { this.dataQualityJobOutputConfig = dataQualityJobOutputConfig; return this; } public final MonitoringResources.Builder getJobResources() { return jobResources != null ? jobResources.toBuilder() : null; } public final void setJobResources(MonitoringResources.BuilderImpl jobResources) { this.jobResources = jobResources != null ? jobResources.build() : null; } @Override @Transient public final Builder jobResources(MonitoringResources jobResources) { this.jobResources = jobResources; return this; } public final MonitoringNetworkConfig.Builder getNetworkConfig() { return networkConfig != null ? networkConfig.toBuilder() : null; } public final void setNetworkConfig(MonitoringNetworkConfig.BuilderImpl networkConfig) { this.networkConfig = networkConfig != null ? networkConfig.build() : null; } @Override @Transient public final Builder networkConfig(MonitoringNetworkConfig networkConfig) { this.networkConfig = networkConfig; return this; } public final String getRoleArn() { return roleArn; } public final void setRoleArn(String roleArn) { this.roleArn = roleArn; } @Override @Transient public final Builder roleArn(String roleArn) { this.roleArn = roleArn; return this; } public final MonitoringStoppingCondition.Builder getStoppingCondition() { return stoppingCondition != null ? stoppingCondition.toBuilder() : null; } public final void setStoppingCondition(MonitoringStoppingCondition.BuilderImpl stoppingCondition) { this.stoppingCondition = stoppingCondition != null ? stoppingCondition.build() : null; } @Override @Transient public final Builder stoppingCondition(MonitoringStoppingCondition stoppingCondition) { this.stoppingCondition = stoppingCondition; return this; } @Override public DescribeDataQualityJobDefinitionResponse build() { return new DescribeDataQualityJobDefinitionResponse(this); } @Override public List> sdkFields() { return SDK_FIELDS; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy