@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateLocationHdfsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateLocationHdfsRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateLocationHdfsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAgentArns()
The ARNs of the agents that are used to connect to the HDFS cluster.
|
String |
getAuthenticationType()
The type of authentication used to determine the identity of the user.
|
Integer |
getBlockSize()
The size of the data blocks to write into the HDFS cluster.
|
ByteBuffer |
getKerberosKeytab()
The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted
keys.
|
ByteBuffer |
getKerberosKrb5Conf()
The
krb5.conf file that contains the Kerberos configuration information. |
String |
getKerberosPrincipal()
The Kerberos principal with access to the files and folders on the HDFS cluster.
|
String |
getKmsKeyProviderUri()
The URI of the HDFS cluster's Key Management Server (KMS).
|
String |
getLocationArn()
The Amazon Resource Name (ARN) of the source HDFS cluster location.
|
List<HdfsNameNode> |
getNameNodes()
The NameNode that manages the HDFS namespace.
|
QopConfiguration |
getQopConfiguration()
The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer privacy
settings configured on the Hadoop Distributed File System (HDFS) cluster.
|
Integer |
getReplicationFactor()
The number of DataNodes to replicate the data to when writing to the HDFS cluster.
|
String |
getSimpleUser()
The user name used to identify the client on the host operating system.
|
String |
getSubdirectory()
A subdirectory in the HDFS cluster.
|
int |
hashCode() |
void |
setAgentArns(Collection<String> agentArns)
The ARNs of the agents that are used to connect to the HDFS cluster.
|
void |
setAuthenticationType(String authenticationType)
The type of authentication used to determine the identity of the user.
|
void |
setBlockSize(Integer blockSize)
The size of the data blocks to write into the HDFS cluster.
|
void |
setKerberosKeytab(ByteBuffer kerberosKeytab)
The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted
keys.
|
void |
setKerberosKrb5Conf(ByteBuffer kerberosKrb5Conf)
The
krb5.conf file that contains the Kerberos configuration information. |
void |
setKerberosPrincipal(String kerberosPrincipal)
The Kerberos principal with access to the files and folders on the HDFS cluster.
|
void |
setKmsKeyProviderUri(String kmsKeyProviderUri)
The URI of the HDFS cluster's Key Management Server (KMS).
|
void |
setLocationArn(String locationArn)
The Amazon Resource Name (ARN) of the source HDFS cluster location.
|
void |
setNameNodes(Collection<HdfsNameNode> nameNodes)
The NameNode that manages the HDFS namespace.
|
void |
setQopConfiguration(QopConfiguration qopConfiguration)
The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer privacy
settings configured on the Hadoop Distributed File System (HDFS) cluster.
|
void |
setReplicationFactor(Integer replicationFactor)
The number of DataNodes to replicate the data to when writing to the HDFS cluster.
|
void |
setSimpleUser(String simpleUser)
The user name used to identify the client on the host operating system.
|
void |
setSubdirectory(String subdirectory)
A subdirectory in the HDFS cluster.
|
String |
toString()
Returns a string representation of this object.
|
UpdateLocationHdfsRequest |
withAgentArns(Collection<String> agentArns)
The ARNs of the agents that are used to connect to the HDFS cluster.
|
UpdateLocationHdfsRequest |
withAgentArns(String... agentArns)
The ARNs of the agents that are used to connect to the HDFS cluster.
|
UpdateLocationHdfsRequest |
withAuthenticationType(HdfsAuthenticationType authenticationType)
The type of authentication used to determine the identity of the user.
|
UpdateLocationHdfsRequest |
withAuthenticationType(String authenticationType)
The type of authentication used to determine the identity of the user.
|
UpdateLocationHdfsRequest |
withBlockSize(Integer blockSize)
The size of the data blocks to write into the HDFS cluster.
|
UpdateLocationHdfsRequest |
withKerberosKeytab(ByteBuffer kerberosKeytab)
The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted
keys.
|
UpdateLocationHdfsRequest |
withKerberosKrb5Conf(ByteBuffer kerberosKrb5Conf)
The
krb5.conf file that contains the Kerberos configuration information. |
UpdateLocationHdfsRequest |
withKerberosPrincipal(String kerberosPrincipal)
The Kerberos principal with access to the files and folders on the HDFS cluster.
|
UpdateLocationHdfsRequest |
withKmsKeyProviderUri(String kmsKeyProviderUri)
The URI of the HDFS cluster's Key Management Server (KMS).
|
UpdateLocationHdfsRequest |
withLocationArn(String locationArn)
The Amazon Resource Name (ARN) of the source HDFS cluster location.
|
UpdateLocationHdfsRequest |
withNameNodes(Collection<HdfsNameNode> nameNodes)
The NameNode that manages the HDFS namespace.
|
UpdateLocationHdfsRequest |
withNameNodes(HdfsNameNode... nameNodes)
The NameNode that manages the HDFS namespace.
|
UpdateLocationHdfsRequest |
withQopConfiguration(QopConfiguration qopConfiguration)
The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer privacy
settings configured on the Hadoop Distributed File System (HDFS) cluster.
|
UpdateLocationHdfsRequest |
withReplicationFactor(Integer replicationFactor)
The number of DataNodes to replicate the data to when writing to the HDFS cluster.
|
UpdateLocationHdfsRequest |
withSimpleUser(String simpleUser)
The user name used to identify the client on the host operating system.
|
UpdateLocationHdfsRequest |
withSubdirectory(String subdirectory)
A subdirectory in the HDFS cluster.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setLocationArn(String locationArn)
The Amazon Resource Name (ARN) of the source HDFS cluster location.
locationArn
- The Amazon Resource Name (ARN) of the source HDFS cluster location.public String getLocationArn()
The Amazon Resource Name (ARN) of the source HDFS cluster location.
public UpdateLocationHdfsRequest withLocationArn(String locationArn)
The Amazon Resource Name (ARN) of the source HDFS cluster location.
locationArn
- The Amazon Resource Name (ARN) of the source HDFS cluster location.public void setSubdirectory(String subdirectory)
A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster.
subdirectory
- A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS
cluster.public String getSubdirectory()
A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster.
public UpdateLocationHdfsRequest withSubdirectory(String subdirectory)
A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster.
subdirectory
- A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS
cluster.public List<HdfsNameNode> getNameNodes()
The NameNode that manages the HDFS namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes. You can use only one NameNode.
public void setNameNodes(Collection<HdfsNameNode> nameNodes)
The NameNode that manages the HDFS namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes. You can use only one NameNode.
nameNodes
- The NameNode that manages the HDFS namespace. The NameNode performs operations such as opening, closing,
and renaming files and directories. The NameNode contains the information to map blocks of data to the
DataNodes. You can use only one NameNode.public UpdateLocationHdfsRequest withNameNodes(HdfsNameNode... nameNodes)
The NameNode that manages the HDFS namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes. You can use only one NameNode.
NOTE: This method appends the values to the existing list (if any). Use
setNameNodes(java.util.Collection)
or withNameNodes(java.util.Collection)
if you want to
override the existing values.
nameNodes
- The NameNode that manages the HDFS namespace. The NameNode performs operations such as opening, closing,
and renaming files and directories. The NameNode contains the information to map blocks of data to the
DataNodes. You can use only one NameNode.public UpdateLocationHdfsRequest withNameNodes(Collection<HdfsNameNode> nameNodes)
The NameNode that manages the HDFS namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes. You can use only one NameNode.
nameNodes
- The NameNode that manages the HDFS namespace. The NameNode performs operations such as opening, closing,
and renaming files and directories. The NameNode contains the information to map blocks of data to the
DataNodes. You can use only one NameNode.public void setBlockSize(Integer blockSize)
The size of the data blocks to write into the HDFS cluster.
blockSize
- The size of the data blocks to write into the HDFS cluster.public Integer getBlockSize()
The size of the data blocks to write into the HDFS cluster.
public UpdateLocationHdfsRequest withBlockSize(Integer blockSize)
The size of the data blocks to write into the HDFS cluster.
blockSize
- The size of the data blocks to write into the HDFS cluster.public void setReplicationFactor(Integer replicationFactor)
The number of DataNodes to replicate the data to when writing to the HDFS cluster.
replicationFactor
- The number of DataNodes to replicate the data to when writing to the HDFS cluster.public Integer getReplicationFactor()
The number of DataNodes to replicate the data to when writing to the HDFS cluster.
public UpdateLocationHdfsRequest withReplicationFactor(Integer replicationFactor)
The number of DataNodes to replicate the data to when writing to the HDFS cluster.
replicationFactor
- The number of DataNodes to replicate the data to when writing to the HDFS cluster.public void setKmsKeyProviderUri(String kmsKeyProviderUri)
The URI of the HDFS cluster's Key Management Server (KMS).
kmsKeyProviderUri
- The URI of the HDFS cluster's Key Management Server (KMS).public String getKmsKeyProviderUri()
The URI of the HDFS cluster's Key Management Server (KMS).
public UpdateLocationHdfsRequest withKmsKeyProviderUri(String kmsKeyProviderUri)
The URI of the HDFS cluster's Key Management Server (KMS).
kmsKeyProviderUri
- The URI of the HDFS cluster's Key Management Server (KMS).public void setQopConfiguration(QopConfiguration qopConfiguration)
The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer privacy settings configured on the Hadoop Distributed File System (HDFS) cluster.
qopConfiguration
- The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer
privacy settings configured on the Hadoop Distributed File System (HDFS) cluster.public QopConfiguration getQopConfiguration()
The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer privacy settings configured on the Hadoop Distributed File System (HDFS) cluster.
public UpdateLocationHdfsRequest withQopConfiguration(QopConfiguration qopConfiguration)
The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer privacy settings configured on the Hadoop Distributed File System (HDFS) cluster.
qopConfiguration
- The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer
privacy settings configured on the Hadoop Distributed File System (HDFS) cluster.public void setAuthenticationType(String authenticationType)
The type of authentication used to determine the identity of the user.
authenticationType
- The type of authentication used to determine the identity of the user.HdfsAuthenticationType
public String getAuthenticationType()
The type of authentication used to determine the identity of the user.
HdfsAuthenticationType
public UpdateLocationHdfsRequest withAuthenticationType(String authenticationType)
The type of authentication used to determine the identity of the user.
authenticationType
- The type of authentication used to determine the identity of the user.HdfsAuthenticationType
public UpdateLocationHdfsRequest withAuthenticationType(HdfsAuthenticationType authenticationType)
The type of authentication used to determine the identity of the user.
authenticationType
- The type of authentication used to determine the identity of the user.HdfsAuthenticationType
public void setSimpleUser(String simpleUser)
The user name used to identify the client on the host operating system.
simpleUser
- The user name used to identify the client on the host operating system.public String getSimpleUser()
The user name used to identify the client on the host operating system.
public UpdateLocationHdfsRequest withSimpleUser(String simpleUser)
The user name used to identify the client on the host operating system.
simpleUser
- The user name used to identify the client on the host operating system.public void setKerberosPrincipal(String kerberosPrincipal)
The Kerberos principal with access to the files and folders on the HDFS cluster.
kerberosPrincipal
- The Kerberos principal with access to the files and folders on the HDFS cluster.public String getKerberosPrincipal()
The Kerberos principal with access to the files and folders on the HDFS cluster.
public UpdateLocationHdfsRequest withKerberosPrincipal(String kerberosPrincipal)
The Kerberos principal with access to the files and folders on the HDFS cluster.
kerberosPrincipal
- The Kerberos principal with access to the files and folders on the HDFS cluster.public void setKerberosKeytab(ByteBuffer kerberosKeytab)
The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys. You can load the keytab from a file by providing the file's address. If you use the CLI, it performs base64 encoding for you. Otherwise, provide the base64-encoded text.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
kerberosKeytab
- The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the
encrypted keys. You can load the keytab from a file by providing the file's address. If you use the CLI,
it performs base64 encoding for you. Otherwise, provide the base64-encoded text.public ByteBuffer getKerberosKeytab()
The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys. You can load the keytab from a file by providing the file's address. If you use the CLI, it performs base64 encoding for you. Otherwise, provide the base64-encoded text.
ByteBuffer
s are stateful. Calling their get
methods changes their position
. We recommend
using ByteBuffer.asReadOnlyBuffer()
to create a read-only view of the buffer with an independent
position
, and calling get
methods on this rather than directly on the returned ByteBuffer
.
Doing so will ensure that anyone else using the ByteBuffer
will not be affected by changes to the
position
.
public UpdateLocationHdfsRequest withKerberosKeytab(ByteBuffer kerberosKeytab)
The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys. You can load the keytab from a file by providing the file's address. If you use the CLI, it performs base64 encoding for you. Otherwise, provide the base64-encoded text.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
kerberosKeytab
- The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the
encrypted keys. You can load the keytab from a file by providing the file's address. If you use the CLI,
it performs base64 encoding for you. Otherwise, provide the base64-encoded text.public void setKerberosKrb5Conf(ByteBuffer kerberosKrb5Conf)
The krb5.conf
file that contains the Kerberos configuration information. You can load the
krb5.conf
file by providing the file's address. If you're using the CLI, it performs the base64
encoding for you. Otherwise, provide the base64-encoded text.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
kerberosKrb5Conf
- The krb5.conf
file that contains the Kerberos configuration information. You can load the
krb5.conf
file by providing the file's address. If you're using the CLI, it performs the
base64 encoding for you. Otherwise, provide the base64-encoded text.public ByteBuffer getKerberosKrb5Conf()
The krb5.conf
file that contains the Kerberos configuration information. You can load the
krb5.conf
file by providing the file's address. If you're using the CLI, it performs the base64
encoding for you. Otherwise, provide the base64-encoded text.
ByteBuffer
s are stateful. Calling their get
methods changes their position
. We recommend
using ByteBuffer.asReadOnlyBuffer()
to create a read-only view of the buffer with an independent
position
, and calling get
methods on this rather than directly on the returned ByteBuffer
.
Doing so will ensure that anyone else using the ByteBuffer
will not be affected by changes to the
position
.
krb5.conf
file that contains the Kerberos configuration information. You can load the
krb5.conf
file by providing the file's address. If you're using the CLI, it performs the
base64 encoding for you. Otherwise, provide the base64-encoded text.public UpdateLocationHdfsRequest withKerberosKrb5Conf(ByteBuffer kerberosKrb5Conf)
The krb5.conf
file that contains the Kerberos configuration information. You can load the
krb5.conf
file by providing the file's address. If you're using the CLI, it performs the base64
encoding for you. Otherwise, provide the base64-encoded text.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
kerberosKrb5Conf
- The krb5.conf
file that contains the Kerberos configuration information. You can load the
krb5.conf
file by providing the file's address. If you're using the CLI, it performs the
base64 encoding for you. Otherwise, provide the base64-encoded text.public List<String> getAgentArns()
The ARNs of the agents that are used to connect to the HDFS cluster.
public void setAgentArns(Collection<String> agentArns)
The ARNs of the agents that are used to connect to the HDFS cluster.
agentArns
- The ARNs of the agents that are used to connect to the HDFS cluster.public UpdateLocationHdfsRequest withAgentArns(String... agentArns)
The ARNs of the agents that are used to connect to the HDFS cluster.
NOTE: This method appends the values to the existing list (if any). Use
setAgentArns(java.util.Collection)
or withAgentArns(java.util.Collection)
if you want to
override the existing values.
agentArns
- The ARNs of the agents that are used to connect to the HDFS cluster.public UpdateLocationHdfsRequest withAgentArns(Collection<String> agentArns)
The ARNs of the agents that are used to connect to the HDFS cluster.
agentArns
- The ARNs of the agents that are used to connect to the HDFS cluster.public String toString()
toString
in class Object
Object.toString()
public UpdateLocationHdfsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()