Interface ResourceInfo.Builder

  • Method Details

    • resourceArn

      ResourceInfo.Builder resourceArn(String resourceArn)

      The Amazon Resource Name (ARN) of the resource.

      Parameters:
      resourceArn - The Amazon Resource Name (ARN) of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roleArn

      ResourceInfo.Builder roleArn(String roleArn)

      The IAM role that registered a resource.

      Parameters:
      roleArn - The IAM role that registered a resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModified

      ResourceInfo.Builder lastModified(Instant lastModified)

      The date and time the resource was last modified.

      Parameters:
      lastModified - The date and time the resource was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withFederation

      ResourceInfo.Builder withFederation(Boolean withFederation)

      Whether or not the resource is a federated resource.

      Parameters:
      withFederation - Whether or not the resource is a federated resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hybridAccessEnabled

      ResourceInfo.Builder hybridAccessEnabled(Boolean hybridAccessEnabled)

      Indicates whether the data access of tables pointing to the location can be managed by both Lake Formation permissions as well as Amazon S3 bucket policies.

      Parameters:
      hybridAccessEnabled - Indicates whether the data access of tables pointing to the location can be managed by both Lake Formation permissions as well as Amazon S3 bucket policies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withPrivilegedAccess

      ResourceInfo.Builder withPrivilegedAccess(Boolean withPrivilegedAccess)

      Grants the calling principal the permissions to perform all supported Lake Formation operations on the registered data location.

      Parameters:
      withPrivilegedAccess - Grants the calling principal the permissions to perform all supported Lake Formation operations on the registered data location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • verificationStatus

      ResourceInfo.Builder verificationStatus(String verificationStatus)

      Indicates whether the registered role has sufficient permissions to access registered Amazon S3 location. Verification Status can be one of the following:

      • VERIFIED - Registered role has sufficient permissions to access registered Amazon S3 location.

      • NOT_VERIFIED - Registered role does not have sufficient permissions to access registered Amazon S3 location.

      • VERIFICATION_FAILED - Unable to verify if the registered role can access the registered Amazon S3 location.

      Parameters:
      verificationStatus - Indicates whether the registered role has sufficient permissions to access registered Amazon S3 location. Verification Status can be one of the following:

      • VERIFIED - Registered role has sufficient permissions to access registered Amazon S3 location.

      • NOT_VERIFIED - Registered role does not have sufficient permissions to access registered Amazon S3 location.

      • VERIFICATION_FAILED - Unable to verify if the registered role can access the registered Amazon S3 location.

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

      ResourceInfo.Builder verificationStatus(VerificationStatus verificationStatus)

      Indicates whether the registered role has sufficient permissions to access registered Amazon S3 location. Verification Status can be one of the following:

      • VERIFIED - Registered role has sufficient permissions to access registered Amazon S3 location.

      • NOT_VERIFIED - Registered role does not have sufficient permissions to access registered Amazon S3 location.

      • VERIFICATION_FAILED - Unable to verify if the registered role can access the registered Amazon S3 location.

      Parameters:
      verificationStatus - Indicates whether the registered role has sufficient permissions to access registered Amazon S3 location. Verification Status can be one of the following:

      • VERIFIED - Registered role has sufficient permissions to access registered Amazon S3 location.

      • NOT_VERIFIED - Registered role does not have sufficient permissions to access registered Amazon S3 location.

      • VERIFICATION_FAILED - Unable to verify if the registered role can access the registered Amazon S3 location.

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

      ResourceInfo.Builder expectedResourceOwnerAccount(String expectedResourceOwnerAccount)

      The Amazon Web Services account that owns the Glue tables associated with specific Amazon S3 locations.

      Parameters:
      expectedResourceOwnerAccount - The Amazon Web Services account that owns the Glue tables associated with specific Amazon S3 locations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.