Interface S3Config.Builder

    • Method Detail

      • path

        S3Config.Builder path​(String path)

        The path to an Amazon Simple Storage Service (Amazon S3) bucket or file(s) in an Amazon S3 bucket.

        Parameters:
        path - The path to an Amazon Simple Storage Service (Amazon S3) bucket or file(s) in an Amazon S3 bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        S3Config.Builder roleArn​(String roleArn)

        The ARN of the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket or files. If you provide a value for the KMSKeyArn key, the role must allow access to the key.

        Passing a role across Amazon Web Services accounts is not allowed. If you pass a role that isn't in your account, you get an InvalidInputException error.

        Parameters:
        roleArn - The ARN of the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket or files. If you provide a value for the KMSKeyArn key, the role must allow access to the key.

        Passing a role across Amazon Web Services accounts is not allowed. If you pass a role that isn't in your account, you get an InvalidInputException error.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kmsKeyArn

        S3Config.Builder kmsKeyArn​(String kmsKeyArn)

        The Amazon Resource Name (ARN) of an Key Management Service (KMS) key.

        Parameters:
        kmsKeyArn - The Amazon Resource Name (ARN) of an Key Management Service (KMS) key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.