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

com.amazonaws.services.appflow.model.UpdateConnectorRegistrationRequest Maven / Gradle / Ivy

Go to download

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

There is a newer version: 1.12.778
Show 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.appflow.model;

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

import com.amazonaws.AmazonWebServiceRequest;

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

    /**
     * 

* The name of the connector. The name is unique for each connector registration in your AWS account. *

*/ private String connectorLabel; /** *

* A description about the update that you're applying to the connector. *

*/ private String description; private ConnectorProvisioningConfig connectorProvisioningConfig; /** *

* The clientToken parameter is an idempotency token. It ensures that your * UpdateConnectorRegistration request completes only once. You choose the value to pass. For example, * if you don't receive a response from your request, you can safely retry the request with the same * clientToken parameter value. *

*

* If you omit a clientToken value, the Amazon Web Services SDK that you are using inserts a value for * you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own * value for other use cases. *

*

* If you specify input parameters that differ from your first request, an error occurs. If you use a different * value for clientToken, Amazon AppFlow considers it a new call to * UpdateConnectorRegistration. The token is active for 8 hours. *

*/ private String clientToken; /** *

* The name of the connector. The name is unique for each connector registration in your AWS account. *

* * @param connectorLabel * The name of the connector. The name is unique for each connector registration in your AWS account. */ public void setConnectorLabel(String connectorLabel) { this.connectorLabel = connectorLabel; } /** *

* The name of the connector. The name is unique for each connector registration in your AWS account. *

* * @return The name of the connector. The name is unique for each connector registration in your AWS account. */ public String getConnectorLabel() { return this.connectorLabel; } /** *

* The name of the connector. The name is unique for each connector registration in your AWS account. *

* * @param connectorLabel * The name of the connector. The name is unique for each connector registration in your AWS account. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateConnectorRegistrationRequest withConnectorLabel(String connectorLabel) { setConnectorLabel(connectorLabel); return this; } /** *

* A description about the update that you're applying to the connector. *

* * @param description * A description about the update that you're applying to the connector. */ public void setDescription(String description) { this.description = description; } /** *

* A description about the update that you're applying to the connector. *

* * @return A description about the update that you're applying to the connector. */ public String getDescription() { return this.description; } /** *

* A description about the update that you're applying to the connector. *

* * @param description * A description about the update that you're applying to the connector. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateConnectorRegistrationRequest withDescription(String description) { setDescription(description); return this; } /** * @param connectorProvisioningConfig */ public void setConnectorProvisioningConfig(ConnectorProvisioningConfig connectorProvisioningConfig) { this.connectorProvisioningConfig = connectorProvisioningConfig; } /** * @return */ public ConnectorProvisioningConfig getConnectorProvisioningConfig() { return this.connectorProvisioningConfig; } /** * @param connectorProvisioningConfig * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateConnectorRegistrationRequest withConnectorProvisioningConfig(ConnectorProvisioningConfig connectorProvisioningConfig) { setConnectorProvisioningConfig(connectorProvisioningConfig); return this; } /** *

* The clientToken parameter is an idempotency token. It ensures that your * UpdateConnectorRegistration request completes only once. You choose the value to pass. For example, * if you don't receive a response from your request, you can safely retry the request with the same * clientToken parameter value. *

*

* If you omit a clientToken value, the Amazon Web Services SDK that you are using inserts a value for * you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own * value for other use cases. *

*

* If you specify input parameters that differ from your first request, an error occurs. If you use a different * value for clientToken, Amazon AppFlow considers it a new call to * UpdateConnectorRegistration. The token is active for 8 hours. *

* * @param clientToken * The clientToken parameter is an idempotency token. It ensures that your * UpdateConnectorRegistration request completes only once. You choose the value to pass. For * example, if you don't receive a response from your request, you can safely retry the request with the same * clientToken parameter value.

*

* If you omit a clientToken value, the Amazon Web Services SDK that you are using inserts a * value for you. This way, the SDK can safely retry requests multiple times after a network error. You must * provide your own value for other use cases. *

*

* If you specify input parameters that differ from your first request, an error occurs. If you use a * different value for clientToken, Amazon AppFlow considers it a new call to * UpdateConnectorRegistration. The token is active for 8 hours. */ public void setClientToken(String clientToken) { this.clientToken = clientToken; } /** *

* The clientToken parameter is an idempotency token. It ensures that your * UpdateConnectorRegistration request completes only once. You choose the value to pass. For example, * if you don't receive a response from your request, you can safely retry the request with the same * clientToken parameter value. *

*

* If you omit a clientToken value, the Amazon Web Services SDK that you are using inserts a value for * you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own * value for other use cases. *

*

* If you specify input parameters that differ from your first request, an error occurs. If you use a different * value for clientToken, Amazon AppFlow considers it a new call to * UpdateConnectorRegistration. The token is active for 8 hours. *

* * @return The clientToken parameter is an idempotency token. It ensures that your * UpdateConnectorRegistration request completes only once. You choose the value to pass. For * example, if you don't receive a response from your request, you can safely retry the request with the * same clientToken parameter value.

*

* If you omit a clientToken value, the Amazon Web Services SDK that you are using inserts a * value for you. This way, the SDK can safely retry requests multiple times after a network error. You must * provide your own value for other use cases. *

*

* If you specify input parameters that differ from your first request, an error occurs. If you use a * different value for clientToken, Amazon AppFlow considers it a new call to * UpdateConnectorRegistration. The token is active for 8 hours. */ public String getClientToken() { return this.clientToken; } /** *

* The clientToken parameter is an idempotency token. It ensures that your * UpdateConnectorRegistration request completes only once. You choose the value to pass. For example, * if you don't receive a response from your request, you can safely retry the request with the same * clientToken parameter value. *

*

* If you omit a clientToken value, the Amazon Web Services SDK that you are using inserts a value for * you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own * value for other use cases. *

*

* If you specify input parameters that differ from your first request, an error occurs. If you use a different * value for clientToken, Amazon AppFlow considers it a new call to * UpdateConnectorRegistration. The token is active for 8 hours. *

* * @param clientToken * The clientToken parameter is an idempotency token. It ensures that your * UpdateConnectorRegistration request completes only once. You choose the value to pass. For * example, if you don't receive a response from your request, you can safely retry the request with the same * clientToken parameter value.

*

* If you omit a clientToken value, the Amazon Web Services SDK that you are using inserts a * value for you. This way, the SDK can safely retry requests multiple times after a network error. You must * provide your own value for other use cases. *

*

* If you specify input parameters that differ from your first request, an error occurs. If you use a * different value for clientToken, Amazon AppFlow considers it a new call to * UpdateConnectorRegistration. The token is active for 8 hours. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateConnectorRegistrationRequest withClientToken(String clientToken) { setClientToken(clientToken); 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 (getConnectorLabel() != null) sb.append("ConnectorLabel: ").append(getConnectorLabel()).append(","); if (getDescription() != null) sb.append("Description: ").append(getDescription()).append(","); if (getConnectorProvisioningConfig() != null) sb.append("ConnectorProvisioningConfig: ").append(getConnectorProvisioningConfig()).append(","); if (getClientToken() != null) sb.append("ClientToken: ").append(getClientToken()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof UpdateConnectorRegistrationRequest == false) return false; UpdateConnectorRegistrationRequest other = (UpdateConnectorRegistrationRequest) obj; if (other.getConnectorLabel() == null ^ this.getConnectorLabel() == null) return false; if (other.getConnectorLabel() != null && other.getConnectorLabel().equals(this.getConnectorLabel()) == 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.getConnectorProvisioningConfig() == null ^ this.getConnectorProvisioningConfig() == null) return false; if (other.getConnectorProvisioningConfig() != null && other.getConnectorProvisioningConfig().equals(this.getConnectorProvisioningConfig()) == false) return false; if (other.getClientToken() == null ^ this.getClientToken() == null) return false; if (other.getClientToken() != null && other.getClientToken().equals(this.getClientToken()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getConnectorLabel() == null) ? 0 : getConnectorLabel().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getConnectorProvisioningConfig() == null) ? 0 : getConnectorProvisioningConfig().hashCode()); hashCode = prime * hashCode + ((getClientToken() == null) ? 0 : getClientToken().hashCode()); return hashCode; } @Override public UpdateConnectorRegistrationRequest clone() { return (UpdateConnectorRegistrationRequest) super.clone(); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy