Interface GetRegistryResponse.Builder

  • Method Details

    • name

      The name of the registry.

      Parameters:
      name - The name of the registry.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      GetRegistryResponse.Builder description(String description)

      The description of the registry.

      Parameters:
      description - The description of the registry.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • registryId

      GetRegistryResponse.Builder registryId(String registryId)

      The unique identifier of the registry.

      Parameters:
      registryId - The unique identifier of the registry.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • registryArn

      GetRegistryResponse.Builder registryArn(String registryArn)

      The Amazon Resource Name (ARN) of the registry.

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

      GetRegistryResponse.Builder authorizerType(String authorizerType)

      The type of authorizer used by the registry. This controls the authorization method for the Search and Invoke APIs used by consumers.

      • CUSTOM_JWT - Authorize with a bearer token.

      • AWS_IAM - Authorize with your Amazon Web Services IAM credentials.

      Parameters:
      authorizerType - The type of authorizer used by the registry. This controls the authorization method for the Search and Invoke APIs used by consumers.

      • CUSTOM_JWT - Authorize with a bearer token.

      • AWS_IAM - Authorize with your Amazon Web Services IAM credentials.

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

      GetRegistryResponse.Builder authorizerType(RegistryAuthorizerType authorizerType)

      The type of authorizer used by the registry. This controls the authorization method for the Search and Invoke APIs used by consumers.

      • CUSTOM_JWT - Authorize with a bearer token.

      • AWS_IAM - Authorize with your Amazon Web Services IAM credentials.

      Parameters:
      authorizerType - The type of authorizer used by the registry. This controls the authorization method for the Search and Invoke APIs used by consumers.

      • CUSTOM_JWT - Authorize with a bearer token.

      • AWS_IAM - Authorize with your Amazon Web Services IAM credentials.

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

      GetRegistryResponse.Builder authorizerConfiguration(AuthorizerConfiguration authorizerConfiguration)

      The authorizer configuration for the registry. For details, see the AuthorizerConfiguration data type.

      Parameters:
      authorizerConfiguration - The authorizer configuration for the registry. For details, see the AuthorizerConfiguration data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authorizerConfiguration

      default GetRegistryResponse.Builder authorizerConfiguration(Consumer<AuthorizerConfiguration.Builder> authorizerConfiguration)

      The authorizer configuration for the registry. For details, see the AuthorizerConfiguration data type.

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

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

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

      GetRegistryResponse.Builder approvalConfiguration(ApprovalConfiguration approvalConfiguration)

      The approval configuration for registry records. For details, see the ApprovalConfiguration data type.

      Parameters:
      approvalConfiguration - The approval configuration for registry records. For details, see the ApprovalConfiguration data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • approvalConfiguration

      default GetRegistryResponse.Builder approvalConfiguration(Consumer<ApprovalConfiguration.Builder> approvalConfiguration)

      The approval configuration for registry records. For details, see the ApprovalConfiguration data type.

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

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

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

      The current status of the registry. Possible values include CREATING, READY, UPDATING, CREATE_FAILED, UPDATE_FAILED, DELETING, and DELETE_FAILED.

      Parameters:
      status - The current status of the registry. Possible values include CREATING, READY, UPDATING, CREATE_FAILED, UPDATE_FAILED, DELETING, and DELETE_FAILED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the registry. Possible values include CREATING, READY, UPDATING, CREATE_FAILED, UPDATE_FAILED, DELETING, and DELETE_FAILED.

      Parameters:
      status - The current status of the registry. Possible values include CREATING, READY, UPDATING, CREATE_FAILED, UPDATE_FAILED, DELETING, and DELETE_FAILED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusReason

      GetRegistryResponse.Builder statusReason(String statusReason)

      The reason for the current status, typically set when the status is a failure state.

      Parameters:
      statusReason - The reason for the current status, typically set when the status is a failure state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      GetRegistryResponse.Builder createdAt(Instant createdAt)

      The timestamp when the registry was created.

      Parameters:
      createdAt - The timestamp when the registry was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      GetRegistryResponse.Builder updatedAt(Instant updatedAt)

      The timestamp when the registry was last updated.

      Parameters:
      updatedAt - The timestamp when the registry was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.