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

com.amazonaws.services.datazone.model.UpdateDataSourceResult Maven / Gradle / Ivy

Go to download

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

The newest version!
/*
 * Copyright 2019-2024 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.datazone.model;

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

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

    /**
     * 

* The asset forms to be updated as part of the UpdateDataSource action. *

*/ private java.util.List assetFormsOutput; /** *

* The configuration to be updated as part of the UpdateDataSource action. *

*/ private DataSourceConfigurationOutput configuration; /** *

* The timestamp of when the data source was updated. *

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

* The description to be updated as part of the UpdateDataSource action. *

*/ private String description; /** *

* The identifier of the Amazon DataZone domain in which a data source is to be updated. *

*/ private String domainId; /** *

* The enable setting to be updated as part of the UpdateDataSource action. *

*/ private String enableSetting; /** *

* The identifier of the environment in which a data source is to be updated. *

*/ private String environmentId; /** *

* Specifies the error message that is returned if the operation cannot be successfully completed. *

*/ private DataSourceErrorMessage errorMessage; /** *

* The identifier of the data source to be updated. *

*/ private String id; /** *

* The timestamp of when the data source was last run. *

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

* The last run error message of the data source. *

*/ private DataSourceErrorMessage lastRunErrorMessage; /** *

* The last run status of the data source. *

*/ private String lastRunStatus; /** *

* The name to be updated as part of the UpdateDataSource action. *

*/ private String name; /** *

* The identifier of the project where data source is to be updated. *

*/ private String projectId; /** *

* The publish on import setting to be updated as part of the UpdateDataSource action. *

*/ private Boolean publishOnImport; /** *

* The recommendation to be updated as part of the UpdateDataSource action. *

*/ private RecommendationConfiguration recommendation; /** *

* Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for a data * source. *

*/ private Boolean retainPermissionsOnRevokeFailure; /** *

* The schedule to be updated as part of the UpdateDataSource action. *

*/ private ScheduleConfiguration schedule; /** *

* Specifies the status of the self-granting functionality. *

*/ private SelfGrantStatusOutput selfGrantStatus; /** *

* The status to be updated as part of the UpdateDataSource action. *

*/ private String status; /** *

* The type to be updated as part of the UpdateDataSource action. *

*/ private String type; /** *

* The timestamp of when the data source was updated. *

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

* The asset forms to be updated as part of the UpdateDataSource action. *

* * @return The asset forms to be updated as part of the UpdateDataSource action. */ public java.util.List getAssetFormsOutput() { return assetFormsOutput; } /** *

* The asset forms to be updated as part of the UpdateDataSource action. *

* * @param assetFormsOutput * The asset forms to be updated as part of the UpdateDataSource action. */ public void setAssetFormsOutput(java.util.Collection assetFormsOutput) { if (assetFormsOutput == null) { this.assetFormsOutput = null; return; } this.assetFormsOutput = new java.util.ArrayList(assetFormsOutput); } /** *

* The asset forms to be updated as part of the UpdateDataSource action. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setAssetFormsOutput(java.util.Collection)} or {@link #withAssetFormsOutput(java.util.Collection)} if you * want to override the existing values. *

* * @param assetFormsOutput * The asset forms to be updated as part of the UpdateDataSource action. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDataSourceResult withAssetFormsOutput(FormOutput... assetFormsOutput) { if (this.assetFormsOutput == null) { setAssetFormsOutput(new java.util.ArrayList(assetFormsOutput.length)); } for (FormOutput ele : assetFormsOutput) { this.assetFormsOutput.add(ele); } return this; } /** *

* The asset forms to be updated as part of the UpdateDataSource action. *

* * @param assetFormsOutput * The asset forms to be updated as part of the UpdateDataSource action. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDataSourceResult withAssetFormsOutput(java.util.Collection assetFormsOutput) { setAssetFormsOutput(assetFormsOutput); return this; } /** *

* The configuration to be updated as part of the UpdateDataSource action. *

* * @param configuration * The configuration to be updated as part of the UpdateDataSource action. */ public void setConfiguration(DataSourceConfigurationOutput configuration) { this.configuration = configuration; } /** *

* The configuration to be updated as part of the UpdateDataSource action. *

* * @return The configuration to be updated as part of the UpdateDataSource action. */ public DataSourceConfigurationOutput getConfiguration() { return this.configuration; } /** *

* The configuration to be updated as part of the UpdateDataSource action. *

* * @param configuration * The configuration to be updated as part of the UpdateDataSource action. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDataSourceResult withConfiguration(DataSourceConfigurationOutput configuration) { setConfiguration(configuration); return this; } /** *

* The timestamp of when the data source was updated. *

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

* The timestamp of when the data source was updated. *

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

* The timestamp of when the data source was updated. *

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

* The description to be updated as part of the UpdateDataSource action. *

* * @param description * The description to be updated as part of the UpdateDataSource action. */ public void setDescription(String description) { this.description = description; } /** *

* The description to be updated as part of the UpdateDataSource action. *

* * @return The description to be updated as part of the UpdateDataSource action. */ public String getDescription() { return this.description; } /** *

* The description to be updated as part of the UpdateDataSource action. *

* * @param description * The description to be updated as part of the UpdateDataSource action. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDataSourceResult withDescription(String description) { setDescription(description); return this; } /** *

* The identifier of the Amazon DataZone domain in which a data source is to be updated. *

* * @param domainId * The identifier of the Amazon DataZone domain in which a data source is to be updated. */ public void setDomainId(String domainId) { this.domainId = domainId; } /** *

* The identifier of the Amazon DataZone domain in which a data source is to be updated. *

* * @return The identifier of the Amazon DataZone domain in which a data source is to be updated. */ public String getDomainId() { return this.domainId; } /** *

* The identifier of the Amazon DataZone domain in which a data source is to be updated. *

* * @param domainId * The identifier of the Amazon DataZone domain in which a data source is to be updated. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDataSourceResult withDomainId(String domainId) { setDomainId(domainId); return this; } /** *

* The enable setting to be updated as part of the UpdateDataSource action. *

* * @param enableSetting * The enable setting to be updated as part of the UpdateDataSource action. * @see EnableSetting */ public void setEnableSetting(String enableSetting) { this.enableSetting = enableSetting; } /** *

* The enable setting to be updated as part of the UpdateDataSource action. *

* * @return The enable setting to be updated as part of the UpdateDataSource action. * @see EnableSetting */ public String getEnableSetting() { return this.enableSetting; } /** *

* The enable setting to be updated as part of the UpdateDataSource action. *

* * @param enableSetting * The enable setting to be updated as part of the UpdateDataSource action. * @return Returns a reference to this object so that method calls can be chained together. * @see EnableSetting */ public UpdateDataSourceResult withEnableSetting(String enableSetting) { setEnableSetting(enableSetting); return this; } /** *

* The enable setting to be updated as part of the UpdateDataSource action. *

* * @param enableSetting * The enable setting to be updated as part of the UpdateDataSource action. * @return Returns a reference to this object so that method calls can be chained together. * @see EnableSetting */ public UpdateDataSourceResult withEnableSetting(EnableSetting enableSetting) { this.enableSetting = enableSetting.toString(); return this; } /** *

* The identifier of the environment in which a data source is to be updated. *

* * @param environmentId * The identifier of the environment in which a data source is to be updated. */ public void setEnvironmentId(String environmentId) { this.environmentId = environmentId; } /** *

* The identifier of the environment in which a data source is to be updated. *

* * @return The identifier of the environment in which a data source is to be updated. */ public String getEnvironmentId() { return this.environmentId; } /** *

* The identifier of the environment in which a data source is to be updated. *

* * @param environmentId * The identifier of the environment in which a data source is to be updated. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDataSourceResult withEnvironmentId(String environmentId) { setEnvironmentId(environmentId); return this; } /** *

* Specifies the error message that is returned if the operation cannot be successfully completed. *

* * @param errorMessage * Specifies the error message that is returned if the operation cannot be successfully completed. */ public void setErrorMessage(DataSourceErrorMessage errorMessage) { this.errorMessage = errorMessage; } /** *

* Specifies the error message that is returned if the operation cannot be successfully completed. *

* * @return Specifies the error message that is returned if the operation cannot be successfully completed. */ public DataSourceErrorMessage getErrorMessage() { return this.errorMessage; } /** *

* Specifies the error message that is returned if the operation cannot be successfully completed. *

* * @param errorMessage * Specifies the error message that is returned if the operation cannot be successfully completed. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDataSourceResult withErrorMessage(DataSourceErrorMessage errorMessage) { setErrorMessage(errorMessage); return this; } /** *

* The identifier of the data source to be updated. *

* * @param id * The identifier of the data source to be updated. */ public void setId(String id) { this.id = id; } /** *

* The identifier of the data source to be updated. *

* * @return The identifier of the data source to be updated. */ public String getId() { return this.id; } /** *

* The identifier of the data source to be updated. *

* * @param id * The identifier of the data source to be updated. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDataSourceResult withId(String id) { setId(id); return this; } /** *

* The timestamp of when the data source was last run. *

* * @param lastRunAt * The timestamp of when the data source was last run. */ public void setLastRunAt(java.util.Date lastRunAt) { this.lastRunAt = lastRunAt; } /** *

* The timestamp of when the data source was last run. *

* * @return The timestamp of when the data source was last run. */ public java.util.Date getLastRunAt() { return this.lastRunAt; } /** *

* The timestamp of when the data source was last run. *

* * @param lastRunAt * The timestamp of when the data source was last run. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDataSourceResult withLastRunAt(java.util.Date lastRunAt) { setLastRunAt(lastRunAt); return this; } /** *

* The last run error message of the data source. *

* * @param lastRunErrorMessage * The last run error message of the data source. */ public void setLastRunErrorMessage(DataSourceErrorMessage lastRunErrorMessage) { this.lastRunErrorMessage = lastRunErrorMessage; } /** *

* The last run error message of the data source. *

* * @return The last run error message of the data source. */ public DataSourceErrorMessage getLastRunErrorMessage() { return this.lastRunErrorMessage; } /** *

* The last run error message of the data source. *

* * @param lastRunErrorMessage * The last run error message of the data source. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDataSourceResult withLastRunErrorMessage(DataSourceErrorMessage lastRunErrorMessage) { setLastRunErrorMessage(lastRunErrorMessage); return this; } /** *

* The last run status of the data source. *

* * @param lastRunStatus * The last run status of the data source. * @see DataSourceRunStatus */ public void setLastRunStatus(String lastRunStatus) { this.lastRunStatus = lastRunStatus; } /** *

* The last run status of the data source. *

* * @return The last run status of the data source. * @see DataSourceRunStatus */ public String getLastRunStatus() { return this.lastRunStatus; } /** *

* The last run status of the data source. *

* * @param lastRunStatus * The last run status of the data source. * @return Returns a reference to this object so that method calls can be chained together. * @see DataSourceRunStatus */ public UpdateDataSourceResult withLastRunStatus(String lastRunStatus) { setLastRunStatus(lastRunStatus); return this; } /** *

* The last run status of the data source. *

* * @param lastRunStatus * The last run status of the data source. * @return Returns a reference to this object so that method calls can be chained together. * @see DataSourceRunStatus */ public UpdateDataSourceResult withLastRunStatus(DataSourceRunStatus lastRunStatus) { this.lastRunStatus = lastRunStatus.toString(); return this; } /** *

* The name to be updated as part of the UpdateDataSource action. *

* * @param name * The name to be updated as part of the UpdateDataSource action. */ public void setName(String name) { this.name = name; } /** *

* The name to be updated as part of the UpdateDataSource action. *

* * @return The name to be updated as part of the UpdateDataSource action. */ public String getName() { return this.name; } /** *

* The name to be updated as part of the UpdateDataSource action. *

* * @param name * The name to be updated as part of the UpdateDataSource action. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDataSourceResult withName(String name) { setName(name); return this; } /** *

* The identifier of the project where data source is to be updated. *

* * @param projectId * The identifier of the project where data source is to be updated. */ public void setProjectId(String projectId) { this.projectId = projectId; } /** *

* The identifier of the project where data source is to be updated. *

* * @return The identifier of the project where data source is to be updated. */ public String getProjectId() { return this.projectId; } /** *

* The identifier of the project where data source is to be updated. *

* * @param projectId * The identifier of the project where data source is to be updated. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDataSourceResult withProjectId(String projectId) { setProjectId(projectId); return this; } /** *

* The publish on import setting to be updated as part of the UpdateDataSource action. *

* * @param publishOnImport * The publish on import setting to be updated as part of the UpdateDataSource action. */ public void setPublishOnImport(Boolean publishOnImport) { this.publishOnImport = publishOnImport; } /** *

* The publish on import setting to be updated as part of the UpdateDataSource action. *

* * @return The publish on import setting to be updated as part of the UpdateDataSource action. */ public Boolean getPublishOnImport() { return this.publishOnImport; } /** *

* The publish on import setting to be updated as part of the UpdateDataSource action. *

* * @param publishOnImport * The publish on import setting to be updated as part of the UpdateDataSource action. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDataSourceResult withPublishOnImport(Boolean publishOnImport) { setPublishOnImport(publishOnImport); return this; } /** *

* The publish on import setting to be updated as part of the UpdateDataSource action. *

* * @return The publish on import setting to be updated as part of the UpdateDataSource action. */ public Boolean isPublishOnImport() { return this.publishOnImport; } /** *

* The recommendation to be updated as part of the UpdateDataSource action. *

* * @param recommendation * The recommendation to be updated as part of the UpdateDataSource action. */ public void setRecommendation(RecommendationConfiguration recommendation) { this.recommendation = recommendation; } /** *

* The recommendation to be updated as part of the UpdateDataSource action. *

* * @return The recommendation to be updated as part of the UpdateDataSource action. */ public RecommendationConfiguration getRecommendation() { return this.recommendation; } /** *

* The recommendation to be updated as part of the UpdateDataSource action. *

* * @param recommendation * The recommendation to be updated as part of the UpdateDataSource action. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDataSourceResult withRecommendation(RecommendationConfiguration recommendation) { setRecommendation(recommendation); return this; } /** *

* Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for a data * source. *

* * @param retainPermissionsOnRevokeFailure * Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for * a data source. */ public void setRetainPermissionsOnRevokeFailure(Boolean retainPermissionsOnRevokeFailure) { this.retainPermissionsOnRevokeFailure = retainPermissionsOnRevokeFailure; } /** *

* Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for a data * source. *

* * @return Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for * a data source. */ public Boolean getRetainPermissionsOnRevokeFailure() { return this.retainPermissionsOnRevokeFailure; } /** *

* Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for a data * source. *

* * @param retainPermissionsOnRevokeFailure * Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for * a data source. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDataSourceResult withRetainPermissionsOnRevokeFailure(Boolean retainPermissionsOnRevokeFailure) { setRetainPermissionsOnRevokeFailure(retainPermissionsOnRevokeFailure); return this; } /** *

* Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for a data * source. *

* * @return Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for * a data source. */ public Boolean isRetainPermissionsOnRevokeFailure() { return this.retainPermissionsOnRevokeFailure; } /** *

* The schedule to be updated as part of the UpdateDataSource action. *

* * @param schedule * The schedule to be updated as part of the UpdateDataSource action. */ public void setSchedule(ScheduleConfiguration schedule) { this.schedule = schedule; } /** *

* The schedule to be updated as part of the UpdateDataSource action. *

* * @return The schedule to be updated as part of the UpdateDataSource action. */ public ScheduleConfiguration getSchedule() { return this.schedule; } /** *

* The schedule to be updated as part of the UpdateDataSource action. *

* * @param schedule * The schedule to be updated as part of the UpdateDataSource action. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDataSourceResult withSchedule(ScheduleConfiguration schedule) { setSchedule(schedule); return this; } /** *

* Specifies the status of the self-granting functionality. *

* * @param selfGrantStatus * Specifies the status of the self-granting functionality. */ public void setSelfGrantStatus(SelfGrantStatusOutput selfGrantStatus) { this.selfGrantStatus = selfGrantStatus; } /** *

* Specifies the status of the self-granting functionality. *

* * @return Specifies the status of the self-granting functionality. */ public SelfGrantStatusOutput getSelfGrantStatus() { return this.selfGrantStatus; } /** *

* Specifies the status of the self-granting functionality. *

* * @param selfGrantStatus * Specifies the status of the self-granting functionality. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDataSourceResult withSelfGrantStatus(SelfGrantStatusOutput selfGrantStatus) { setSelfGrantStatus(selfGrantStatus); return this; } /** *

* The status to be updated as part of the UpdateDataSource action. *

* * @param status * The status to be updated as part of the UpdateDataSource action. * @see DataSourceStatus */ public void setStatus(String status) { this.status = status; } /** *

* The status to be updated as part of the UpdateDataSource action. *

* * @return The status to be updated as part of the UpdateDataSource action. * @see DataSourceStatus */ public String getStatus() { return this.status; } /** *

* The status to be updated as part of the UpdateDataSource action. *

* * @param status * The status to be updated as part of the UpdateDataSource action. * @return Returns a reference to this object so that method calls can be chained together. * @see DataSourceStatus */ public UpdateDataSourceResult withStatus(String status) { setStatus(status); return this; } /** *

* The status to be updated as part of the UpdateDataSource action. *

* * @param status * The status to be updated as part of the UpdateDataSource action. * @return Returns a reference to this object so that method calls can be chained together. * @see DataSourceStatus */ public UpdateDataSourceResult withStatus(DataSourceStatus status) { this.status = status.toString(); return this; } /** *

* The type to be updated as part of the UpdateDataSource action. *

* * @param type * The type to be updated as part of the UpdateDataSource action. */ public void setType(String type) { this.type = type; } /** *

* The type to be updated as part of the UpdateDataSource action. *

* * @return The type to be updated as part of the UpdateDataSource action. */ public String getType() { return this.type; } /** *

* The type to be updated as part of the UpdateDataSource action. *

* * @param type * The type to be updated as part of the UpdateDataSource action. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDataSourceResult withType(String type) { setType(type); return this; } /** *

* The timestamp of when the data source was updated. *

* * @param updatedAt * The timestamp of when the data source was updated. */ public void setUpdatedAt(java.util.Date updatedAt) { this.updatedAt = updatedAt; } /** *

* The timestamp of when the data source was updated. *

* * @return The timestamp of when the data source was updated. */ public java.util.Date getUpdatedAt() { return this.updatedAt; } /** *

* The timestamp of when the data source was updated. *

* * @param updatedAt * The timestamp of when the data source was updated. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDataSourceResult withUpdatedAt(java.util.Date updatedAt) { setUpdatedAt(updatedAt); 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 (getAssetFormsOutput() != null) sb.append("AssetFormsOutput: ").append(getAssetFormsOutput()).append(","); if (getConfiguration() != null) sb.append("Configuration: ").append(getConfiguration()).append(","); if (getCreatedAt() != null) sb.append("CreatedAt: ").append(getCreatedAt()).append(","); if (getDescription() != null) sb.append("Description: ").append("***Sensitive Data Redacted***").append(","); if (getDomainId() != null) sb.append("DomainId: ").append(getDomainId()).append(","); if (getEnableSetting() != null) sb.append("EnableSetting: ").append(getEnableSetting()).append(","); if (getEnvironmentId() != null) sb.append("EnvironmentId: ").append(getEnvironmentId()).append(","); if (getErrorMessage() != null) sb.append("ErrorMessage: ").append(getErrorMessage()).append(","); if (getId() != null) sb.append("Id: ").append(getId()).append(","); if (getLastRunAt() != null) sb.append("LastRunAt: ").append(getLastRunAt()).append(","); if (getLastRunErrorMessage() != null) sb.append("LastRunErrorMessage: ").append(getLastRunErrorMessage()).append(","); if (getLastRunStatus() != null) sb.append("LastRunStatus: ").append(getLastRunStatus()).append(","); if (getName() != null) sb.append("Name: ").append("***Sensitive Data Redacted***").append(","); if (getProjectId() != null) sb.append("ProjectId: ").append(getProjectId()).append(","); if (getPublishOnImport() != null) sb.append("PublishOnImport: ").append(getPublishOnImport()).append(","); if (getRecommendation() != null) sb.append("Recommendation: ").append(getRecommendation()).append(","); if (getRetainPermissionsOnRevokeFailure() != null) sb.append("RetainPermissionsOnRevokeFailure: ").append(getRetainPermissionsOnRevokeFailure()).append(","); if (getSchedule() != null) sb.append("Schedule: ").append("***Sensitive Data Redacted***").append(","); if (getSelfGrantStatus() != null) sb.append("SelfGrantStatus: ").append(getSelfGrantStatus()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getType() != null) sb.append("Type: ").append(getType()).append(","); if (getUpdatedAt() != null) sb.append("UpdatedAt: ").append(getUpdatedAt()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof UpdateDataSourceResult == false) return false; UpdateDataSourceResult other = (UpdateDataSourceResult) obj; if (other.getAssetFormsOutput() == null ^ this.getAssetFormsOutput() == null) return false; if (other.getAssetFormsOutput() != null && other.getAssetFormsOutput().equals(this.getAssetFormsOutput()) == false) return false; if (other.getConfiguration() == null ^ this.getConfiguration() == null) return false; if (other.getConfiguration() != null && other.getConfiguration().equals(this.getConfiguration()) == 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.getDescription() == null ^ this.getDescription() == null) return false; if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false) return false; if (other.getDomainId() == null ^ this.getDomainId() == null) return false; if (other.getDomainId() != null && other.getDomainId().equals(this.getDomainId()) == false) return false; if (other.getEnableSetting() == null ^ this.getEnableSetting() == null) return false; if (other.getEnableSetting() != null && other.getEnableSetting().equals(this.getEnableSetting()) == false) return false; if (other.getEnvironmentId() == null ^ this.getEnvironmentId() == null) return false; if (other.getEnvironmentId() != null && other.getEnvironmentId().equals(this.getEnvironmentId()) == false) return false; if (other.getErrorMessage() == null ^ this.getErrorMessage() == null) return false; if (other.getErrorMessage() != null && other.getErrorMessage().equals(this.getErrorMessage()) == false) return false; if (other.getId() == null ^ this.getId() == null) return false; if (other.getId() != null && other.getId().equals(this.getId()) == false) return false; if (other.getLastRunAt() == null ^ this.getLastRunAt() == null) return false; if (other.getLastRunAt() != null && other.getLastRunAt().equals(this.getLastRunAt()) == false) return false; if (other.getLastRunErrorMessage() == null ^ this.getLastRunErrorMessage() == null) return false; if (other.getLastRunErrorMessage() != null && other.getLastRunErrorMessage().equals(this.getLastRunErrorMessage()) == false) return false; if (other.getLastRunStatus() == null ^ this.getLastRunStatus() == null) return false; if (other.getLastRunStatus() != null && other.getLastRunStatus().equals(this.getLastRunStatus()) == false) return false; if (other.getName() == null ^ this.getName() == null) return false; if (other.getName() != null && other.getName().equals(this.getName()) == false) return false; if (other.getProjectId() == null ^ this.getProjectId() == null) return false; if (other.getProjectId() != null && other.getProjectId().equals(this.getProjectId()) == false) return false; if (other.getPublishOnImport() == null ^ this.getPublishOnImport() == null) return false; if (other.getPublishOnImport() != null && other.getPublishOnImport().equals(this.getPublishOnImport()) == false) return false; if (other.getRecommendation() == null ^ this.getRecommendation() == null) return false; if (other.getRecommendation() != null && other.getRecommendation().equals(this.getRecommendation()) == false) return false; if (other.getRetainPermissionsOnRevokeFailure() == null ^ this.getRetainPermissionsOnRevokeFailure() == null) return false; if (other.getRetainPermissionsOnRevokeFailure() != null && other.getRetainPermissionsOnRevokeFailure().equals(this.getRetainPermissionsOnRevokeFailure()) == false) return false; if (other.getSchedule() == null ^ this.getSchedule() == null) return false; if (other.getSchedule() != null && other.getSchedule().equals(this.getSchedule()) == false) return false; if (other.getSelfGrantStatus() == null ^ this.getSelfGrantStatus() == null) return false; if (other.getSelfGrantStatus() != null && other.getSelfGrantStatus().equals(this.getSelfGrantStatus()) == false) return false; if (other.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) return false; if (other.getType() == null ^ this.getType() == null) return false; if (other.getType() != null && other.getType().equals(this.getType()) == false) return false; if (other.getUpdatedAt() == null ^ this.getUpdatedAt() == null) return false; if (other.getUpdatedAt() != null && other.getUpdatedAt().equals(this.getUpdatedAt()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAssetFormsOutput() == null) ? 0 : getAssetFormsOutput().hashCode()); hashCode = prime * hashCode + ((getConfiguration() == null) ? 0 : getConfiguration().hashCode()); hashCode = prime * hashCode + ((getCreatedAt() == null) ? 0 : getCreatedAt().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getDomainId() == null) ? 0 : getDomainId().hashCode()); hashCode = prime * hashCode + ((getEnableSetting() == null) ? 0 : getEnableSetting().hashCode()); hashCode = prime * hashCode + ((getEnvironmentId() == null) ? 0 : getEnvironmentId().hashCode()); hashCode = prime * hashCode + ((getErrorMessage() == null) ? 0 : getErrorMessage().hashCode()); hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode()); hashCode = prime * hashCode + ((getLastRunAt() == null) ? 0 : getLastRunAt().hashCode()); hashCode = prime * hashCode + ((getLastRunErrorMessage() == null) ? 0 : getLastRunErrorMessage().hashCode()); hashCode = prime * hashCode + ((getLastRunStatus() == null) ? 0 : getLastRunStatus().hashCode()); hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getProjectId() == null) ? 0 : getProjectId().hashCode()); hashCode = prime * hashCode + ((getPublishOnImport() == null) ? 0 : getPublishOnImport().hashCode()); hashCode = prime * hashCode + ((getRecommendation() == null) ? 0 : getRecommendation().hashCode()); hashCode = prime * hashCode + ((getRetainPermissionsOnRevokeFailure() == null) ? 0 : getRetainPermissionsOnRevokeFailure().hashCode()); hashCode = prime * hashCode + ((getSchedule() == null) ? 0 : getSchedule().hashCode()); hashCode = prime * hashCode + ((getSelfGrantStatus() == null) ? 0 : getSelfGrantStatus().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getType() == null) ? 0 : getType().hashCode()); hashCode = prime * hashCode + ((getUpdatedAt() == null) ? 0 : getUpdatedAt().hashCode()); return hashCode; } @Override public UpdateDataSourceResult clone() { try { return (UpdateDataSourceResult) 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