Class LocationHdfsState.Builder

  • Enclosing class:
    LocationHdfsState

    public static final class LocationHdfsState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • agentArns

        public LocationHdfsState.Builder agentArns​(@Nullable
                                                   com.pulumi.core.Output<java.util.List<java.lang.String>> agentArns)
        Parameters:
        agentArns - A list of DataSync Agent ARNs with which this location will be associated.
        Returns:
        builder
      • agentArns

        public LocationHdfsState.Builder agentArns​(java.util.List<java.lang.String> agentArns)
        Parameters:
        agentArns - A list of DataSync Agent ARNs with which this location will be associated.
        Returns:
        builder
      • agentArns

        public LocationHdfsState.Builder agentArns​(java.lang.String... agentArns)
        Parameters:
        agentArns - A list of DataSync Agent ARNs with which this location will be associated.
        Returns:
        builder
      • arn

        public LocationHdfsState.Builder arn​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the DataSync Location.
        Returns:
        builder
      • arn

        public LocationHdfsState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the DataSync Location.
        Returns:
        builder
      • authenticationType

        public LocationHdfsState.Builder authenticationType​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> authenticationType)
        Parameters:
        authenticationType - The type of authentication used to determine the identity of the user. Valid values are `SIMPLE` and `KERBEROS`.
        Returns:
        builder
      • authenticationType

        public LocationHdfsState.Builder authenticationType​(java.lang.String authenticationType)
        Parameters:
        authenticationType - The type of authentication used to determine the identity of the user. Valid values are `SIMPLE` and `KERBEROS`.
        Returns:
        builder
      • blockSize

        public LocationHdfsState.Builder blockSize​(@Nullable
                                                   com.pulumi.core.Output<java.lang.Integer> blockSize)
        Parameters:
        blockSize - The size of data blocks to write into the HDFS cluster. The block size must be a multiple of 512 bytes. The default block size is 128 mebibytes (MiB).
        Returns:
        builder
      • blockSize

        public LocationHdfsState.Builder blockSize​(java.lang.Integer blockSize)
        Parameters:
        blockSize - The size of data blocks to write into the HDFS cluster. The block size must be a multiple of 512 bytes. The default block size is 128 mebibytes (MiB).
        Returns:
        builder
      • kerberosKeytab

        public LocationHdfsState.Builder kerberosKeytab​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> kerberosKeytab)
        Parameters:
        kerberosKeytab - The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys. Use `kerberosKeytabBase64` instead whenever the value is not a valid UTF-8 string. If `KERBEROS` is specified for `authenticationType`, this parameter (or `kerberosKeytabBase64`) is required.
        Returns:
        builder
      • kerberosKeytab

        public LocationHdfsState.Builder kerberosKeytab​(java.lang.String kerberosKeytab)
        Parameters:
        kerberosKeytab - The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys. Use `kerberosKeytabBase64` instead whenever the value is not a valid UTF-8 string. If `KERBEROS` is specified for `authenticationType`, this parameter (or `kerberosKeytabBase64`) is required.
        Returns:
        builder
      • kerberosKeytabBase64

        public LocationHdfsState.Builder kerberosKeytabBase64​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> kerberosKeytabBase64)
        Parameters:
        kerberosKeytabBase64 - Use instead of `kerberosKeytab` to pass base64-encoded binary data directly. If `KERBEROS` is specified for `authenticationType`, this parameter (or `kerberosKeytab`) is required.
        Returns:
        builder
      • kerberosKeytabBase64

        public LocationHdfsState.Builder kerberosKeytabBase64​(java.lang.String kerberosKeytabBase64)
        Parameters:
        kerberosKeytabBase64 - Use instead of `kerberosKeytab` to pass base64-encoded binary data directly. If `KERBEROS` is specified for `authenticationType`, this parameter (or `kerberosKeytab`) is required.
        Returns:
        builder
      • kerberosKrb5Conf

        public LocationHdfsState.Builder kerberosKrb5Conf​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> kerberosKrb5Conf)
        Parameters:
        kerberosKrb5Conf - The krb5.conf file that contains the Kerberos configuration information. Use `kerberosKrb5ConfBase64` instead whenever the value is not a valid UTF-8 string. If `KERBEROS` is specified for `authenticationType`, this parameter (or `kerberosKrb5ConfBase64`) is required.
        Returns:
        builder
      • kerberosKrb5Conf

        public LocationHdfsState.Builder kerberosKrb5Conf​(java.lang.String kerberosKrb5Conf)
        Parameters:
        kerberosKrb5Conf - The krb5.conf file that contains the Kerberos configuration information. Use `kerberosKrb5ConfBase64` instead whenever the value is not a valid UTF-8 string. If `KERBEROS` is specified for `authenticationType`, this parameter (or `kerberosKrb5ConfBase64`) is required.
        Returns:
        builder
      • kerberosKrb5ConfBase64

        public LocationHdfsState.Builder kerberosKrb5ConfBase64​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> kerberosKrb5ConfBase64)
        Parameters:
        kerberosKrb5ConfBase64 - Use instead of `kerberosKrb5Conf` to pass base64-encoded binary data directly. If `KERBEROS` is specified for `authenticationType`, this parameter (or `kerberosKrb5Conf`) is required.
        Returns:
        builder
      • kerberosKrb5ConfBase64

        public LocationHdfsState.Builder kerberosKrb5ConfBase64​(java.lang.String kerberosKrb5ConfBase64)
        Parameters:
        kerberosKrb5ConfBase64 - Use instead of `kerberosKrb5Conf` to pass base64-encoded binary data directly. If `KERBEROS` is specified for `authenticationType`, this parameter (or `kerberosKrb5Conf`) is required.
        Returns:
        builder
      • kerberosPrincipal

        public LocationHdfsState.Builder kerberosPrincipal​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> kerberosPrincipal)
        Parameters:
        kerberosPrincipal - The Kerberos principal with access to the files and folders on the HDFS cluster. If `KERBEROS` is specified for `authenticationType`, this parameter is required.
        Returns:
        builder
      • kerberosPrincipal

        public LocationHdfsState.Builder kerberosPrincipal​(java.lang.String kerberosPrincipal)
        Parameters:
        kerberosPrincipal - The Kerberos principal with access to the files and folders on the HDFS cluster. If `KERBEROS` is specified for `authenticationType`, this parameter is required.
        Returns:
        builder
      • kmsKeyProviderUri

        public LocationHdfsState.Builder kmsKeyProviderUri​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> kmsKeyProviderUri)
        Parameters:
        kmsKeyProviderUri - The URI of the HDFS cluster's Key Management Server (KMS).
        Returns:
        builder
      • kmsKeyProviderUri

        public LocationHdfsState.Builder kmsKeyProviderUri​(java.lang.String kmsKeyProviderUri)
        Parameters:
        kmsKeyProviderUri - The URI of the HDFS cluster's Key Management Server (KMS).
        Returns:
        builder
      • nameNodes

        public LocationHdfsState.Builder nameNodes​(@Nullable
                                                   com.pulumi.core.Output<java.util.List<LocationHdfsNameNodeArgs>> nameNodes)
        Parameters:
        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. See configuration below.
        Returns:
        builder
      • nameNodes

        public LocationHdfsState.Builder nameNodes​(java.util.List<LocationHdfsNameNodeArgs> nameNodes)
        Parameters:
        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. See configuration below.
        Returns:
        builder
      • nameNodes

        public LocationHdfsState.Builder nameNodes​(LocationHdfsNameNodeArgs... nameNodes)
        Parameters:
        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. See configuration below.
        Returns:
        builder
      • qopConfiguration

        public LocationHdfsState.Builder qopConfiguration​(@Nullable
                                                          com.pulumi.core.Output<LocationHdfsQopConfigurationArgs> qopConfiguration)
        Parameters:
        qopConfiguration - The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer protection settings configured on the Hadoop Distributed File System (HDFS) cluster. If `qopConfiguration` isn't specified, `rpcProtection` and `dataTransferProtection` default to `PRIVACY`. If you set RpcProtection or DataTransferProtection, the other parameter assumes the same value. See configuration below.
        Returns:
        builder
      • qopConfiguration

        public LocationHdfsState.Builder qopConfiguration​(LocationHdfsQopConfigurationArgs qopConfiguration)
        Parameters:
        qopConfiguration - The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer protection settings configured on the Hadoop Distributed File System (HDFS) cluster. If `qopConfiguration` isn't specified, `rpcProtection` and `dataTransferProtection` default to `PRIVACY`. If you set RpcProtection or DataTransferProtection, the other parameter assumes the same value. See configuration below.
        Returns:
        builder
      • region

        public LocationHdfsState.Builder region​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public LocationHdfsState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • replicationFactor

        public LocationHdfsState.Builder replicationFactor​(@Nullable
                                                           com.pulumi.core.Output<java.lang.Integer> replicationFactor)
        Parameters:
        replicationFactor - The number of DataNodes to replicate the data to when writing to the HDFS cluster. By default, data is replicated to three DataNodes.
        Returns:
        builder
      • replicationFactor

        public LocationHdfsState.Builder replicationFactor​(java.lang.Integer replicationFactor)
        Parameters:
        replicationFactor - The number of DataNodes to replicate the data to when writing to the HDFS cluster. By default, data is replicated to three DataNodes.
        Returns:
        builder
      • simpleUser

        public LocationHdfsState.Builder simpleUser​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> simpleUser)
        Parameters:
        simpleUser - The user name used to identify the client on the host operating system. If `SIMPLE` is specified for `authenticationType`, this parameter is required.
        Returns:
        builder
      • simpleUser

        public LocationHdfsState.Builder simpleUser​(java.lang.String simpleUser)
        Parameters:
        simpleUser - The user name used to identify the client on the host operating system. If `SIMPLE` is specified for `authenticationType`, this parameter is required.
        Returns:
        builder
      • subdirectory

        public LocationHdfsState.Builder subdirectory​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> subdirectory)
        Parameters:
        subdirectory - A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /.
        Returns:
        builder
      • subdirectory

        public LocationHdfsState.Builder subdirectory​(java.lang.String subdirectory)
        Parameters:
        subdirectory - A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /.
        Returns:
        builder
      • tags

        public LocationHdfsState.Builder tags​(@Nullable
                                              com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public LocationHdfsState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public LocationHdfsState.Builder tagsAll​(@Nullable
                                                 com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public LocationHdfsState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder