Interface S3DataAccessAsset.Builder

All Superinterfaces:
Buildable, CopyableBuilder<S3DataAccessAsset.Builder,S3DataAccessAsset>, SdkBuilder<S3DataAccessAsset.Builder,S3DataAccessAsset>, SdkPojo
Enclosing class:
S3DataAccessAsset

public static interface S3DataAccessAsset.Builder extends SdkPojo, CopyableBuilder<S3DataAccessAsset.Builder,S3DataAccessAsset>
  • Method Details

    • bucket

      The Amazon S3 bucket hosting data to be shared in the S3 data access.

      Parameters:
      bucket - The Amazon S3 bucket hosting data to be shared in the S3 data access.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyPrefixes

      S3DataAccessAsset.Builder keyPrefixes(Collection<String> keyPrefixes)

      The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.

      Parameters:
      keyPrefixes - The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyPrefixes

      S3DataAccessAsset.Builder keyPrefixes(String... keyPrefixes)

      The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.

      Parameters:
      keyPrefixes - The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keys

      S3 keys made available using this asset.

      Parameters:
      keys - S3 keys made available using this asset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keys

      S3 keys made available using this asset.

      Parameters:
      keys - S3 keys made available using this asset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3AccessPointAlias

      S3DataAccessAsset.Builder s3AccessPointAlias(String s3AccessPointAlias)

      The automatically-generated bucket-style alias for your Amazon S3 Access Point. Customers can access their entitled data using the S3 Access Point alias.

      Parameters:
      s3AccessPointAlias - The automatically-generated bucket-style alias for your Amazon S3 Access Point. Customers can access their entitled data using the S3 Access Point alias.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3AccessPointArn

      S3DataAccessAsset.Builder s3AccessPointArn(String s3AccessPointArn)

      The ARN for your Amazon S3 Access Point. Customers can also access their entitled data using the S3 Access Point ARN.

      Parameters:
      s3AccessPointArn - The ARN for your Amazon S3 Access Point. Customers can also access their entitled data using the S3 Access Point ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kmsKeysToGrant

      S3DataAccessAsset.Builder kmsKeysToGrant(Collection<KmsKeyToGrant> kmsKeysToGrant)

      List of AWS KMS CMKs (Key Management System Customer Managed Keys) and ARNs used to encrypt S3 objects being shared in this S3 Data Access asset. Providers must include all AWS KMS keys used to encrypt these shared S3 objects.

      Parameters:
      kmsKeysToGrant - List of AWS KMS CMKs (Key Management System Customer Managed Keys) and ARNs used to encrypt S3 objects being shared in this S3 Data Access asset. Providers must include all AWS KMS keys used to encrypt these shared S3 objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kmsKeysToGrant

      S3DataAccessAsset.Builder kmsKeysToGrant(KmsKeyToGrant... kmsKeysToGrant)

      List of AWS KMS CMKs (Key Management System Customer Managed Keys) and ARNs used to encrypt S3 objects being shared in this S3 Data Access asset. Providers must include all AWS KMS keys used to encrypt these shared S3 objects.

      Parameters:
      kmsKeysToGrant - List of AWS KMS CMKs (Key Management System Customer Managed Keys) and ARNs used to encrypt S3 objects being shared in this S3 Data Access asset. Providers must include all AWS KMS keys used to encrypt these shared S3 objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kmsKeysToGrant

      S3DataAccessAsset.Builder kmsKeysToGrant(Consumer<KmsKeyToGrant.Builder>... kmsKeysToGrant)

      List of AWS KMS CMKs (Key Management System Customer Managed Keys) and ARNs used to encrypt S3 objects being shared in this S3 Data Access asset. Providers must include all AWS KMS keys used to encrypt these shared S3 objects.

      This is a convenience method that creates an instance of the KmsKeyToGrant.Builder avoiding the need to create one manually via KmsKeyToGrant.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to kmsKeysToGrant(List<KmsKeyToGrant>).

      Parameters:
      kmsKeysToGrant - a consumer that will call methods on KmsKeyToGrant.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: