Interface GetTemporaryDataLocationCredentialsResponse.Builder

  • Method Details

    • credentials

      Sets the value of the Credentials property for this object.
      Parameters:
      credentials - The new value for the Credentials property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • credentials

      Sets the value of the Credentials property for this object. This is a convenience method that creates an instance of the TemporaryCredentials.Builder avoiding the need to create one manually via TemporaryCredentials.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to credentials(TemporaryCredentials).

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

      GetTemporaryDataLocationCredentialsResponse.Builder accessibleDataLocations(Collection<String> accessibleDataLocations)

      Refers to the Amazon S3 locations that can be accessed through the GetTemporaryCredentialsForLocation API operation.

      Parameters:
      accessibleDataLocations - Refers to the Amazon S3 locations that can be accessed through the GetTemporaryCredentialsForLocation API operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accessibleDataLocations

      GetTemporaryDataLocationCredentialsResponse.Builder accessibleDataLocations(String... accessibleDataLocations)

      Refers to the Amazon S3 locations that can be accessed through the GetTemporaryCredentialsForLocation API operation.

      Parameters:
      accessibleDataLocations - Refers to the Amazon S3 locations that can be accessed through the GetTemporaryCredentialsForLocation API operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • credentialsScope

      GetTemporaryDataLocationCredentialsResponse.Builder credentialsScope(String credentialsScope)

      The credential scope is determined by the caller's Lake Formation permission on the associated table. Credential scope can be either:

      • READ - Provides read-only access to the data location.

      • READ_WRITE - Provides both read and write access to the data location.

      Parameters:
      credentialsScope - The credential scope is determined by the caller's Lake Formation permission on the associated table. Credential scope can be either:

      • READ - Provides read-only access to the data location.

      • READ_WRITE - Provides both read and write access to the data location.

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

      The credential scope is determined by the caller's Lake Formation permission on the associated table. Credential scope can be either:

      • READ - Provides read-only access to the data location.

      • READ_WRITE - Provides both read and write access to the data location.

      Parameters:
      credentialsScope - The credential scope is determined by the caller's Lake Formation permission on the associated table. Credential scope can be either:

      • READ - Provides read-only access to the data location.

      • READ_WRITE - Provides both read and write access to the data location.

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