Interface Grant.Builder

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

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

    • grantArn

      Grant.Builder grantArn(String grantArn)

      Amazon Resource Name (ARN) of the grant.

      Parameters:
      grantArn - Amazon Resource Name (ARN) of the grant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • grantName

      Grant.Builder grantName(String grantName)

      Grant name.

      Parameters:
      grantName - Grant name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parentArn

      Grant.Builder parentArn(String parentArn)

      Parent ARN.

      Parameters:
      parentArn - Parent ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • licenseArn

      Grant.Builder licenseArn(String licenseArn)

      License ARN.

      Parameters:
      licenseArn - License ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • granteePrincipalArn

      Grant.Builder granteePrincipalArn(String granteePrincipalArn)

      The grantee principal ARN.

      Parameters:
      granteePrincipalArn - The grantee principal ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • homeRegion

      Grant.Builder homeRegion(String homeRegion)

      Home Region of the grant.

      Parameters:
      homeRegion - Home Region of the grant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • grantStatus

      Grant.Builder grantStatus(String grantStatus)

      Grant status.

      Parameters:
      grantStatus - Grant status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • grantStatus

      Grant.Builder grantStatus(GrantStatus grantStatus)

      Grant status.

      Parameters:
      grantStatus - Grant status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusReason

      Grant.Builder statusReason(String statusReason)

      Grant status reason.

      Parameters:
      statusReason - Grant status reason.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • version

      Grant.Builder version(String version)

      Grant version.

      Parameters:
      version - Grant version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • grantedOperationsWithStrings

      Grant.Builder grantedOperationsWithStrings(Collection<String> grantedOperations)

      Granted operations.

      Parameters:
      grantedOperations - Granted operations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • grantedOperationsWithStrings

      Grant.Builder grantedOperationsWithStrings(String... grantedOperations)

      Granted operations.

      Parameters:
      grantedOperations - Granted operations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • grantedOperations

      Grant.Builder grantedOperations(Collection<AllowedOperation> grantedOperations)

      Granted operations.

      Parameters:
      grantedOperations - Granted operations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • grantedOperations

      Grant.Builder grantedOperations(AllowedOperation... grantedOperations)

      Granted operations.

      Parameters:
      grantedOperations - Granted operations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • options

      Grant.Builder options(Options options)

      The options specified for the grant.

      Parameters:
      options - The options specified for the grant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • options

      default Grant.Builder options(Consumer<Options.Builder> options)

      The options specified for the grant.

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

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

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