@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConnectorConfigRequest extends Object implements Serializable, Cloneable, StructuredPojo
The configuration sent to a cluster for configuration.
| Constructor and Description |
|---|
ConnectorConfigRequest() |
| Modifier and Type | Method and Description |
|---|---|
ConnectorConfigRequest |
clone() |
boolean |
equals(Object obj) |
String |
getProvider()
The cloud provider for the target cluster to connect.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the role that is authorized to request the connector configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setProvider(String provider)
The cloud provider for the target cluster to connect.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role that is authorized to request the connector configuration.
|
String |
toString()
Returns a string representation of this object.
|
ConnectorConfigRequest |
withProvider(ConnectorConfigProvider provider)
The cloud provider for the target cluster to connect.
|
ConnectorConfigRequest |
withProvider(String provider)
The cloud provider for the target cluster to connect.
|
ConnectorConfigRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role that is authorized to request the connector configuration.
|
public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role that is authorized to request the connector configuration.
roleArn - The Amazon Resource Name (ARN) of the role that is authorized to request the connector configuration.public String getRoleArn()
The Amazon Resource Name (ARN) of the role that is authorized to request the connector configuration.
public ConnectorConfigRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role that is authorized to request the connector configuration.
roleArn - The Amazon Resource Name (ARN) of the role that is authorized to request the connector configuration.public void setProvider(String provider)
The cloud provider for the target cluster to connect.
provider - The cloud provider for the target cluster to connect.ConnectorConfigProviderpublic String getProvider()
The cloud provider for the target cluster to connect.
ConnectorConfigProviderpublic ConnectorConfigRequest withProvider(String provider)
The cloud provider for the target cluster to connect.
provider - The cloud provider for the target cluster to connect.ConnectorConfigProviderpublic ConnectorConfigRequest withProvider(ConnectorConfigProvider provider)
The cloud provider for the target cluster to connect.
provider - The cloud provider for the target cluster to connect.ConnectorConfigProviderpublic String toString()
toString in class ObjectObject.toString()public ConnectorConfigRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.