Interface CreateRegistryRequest.Builder

  • Method Details

    • name

      The name of the registry. The name must be unique within your account and can contain alphanumeric characters and underscores.

      Parameters:
      name - The name of the registry. The name must be unique within your account and can contain alphanumeric characters and underscores.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreateRegistryRequest.Builder description(String description)

      A description of the registry.

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

      CreateRegistryRequest.Builder authorizerType(String authorizerType)

      The type of authorizer to use for the registry. This controls the authorization method for the Search and Invoke APIs used by consumers, and does not affect the standard CRUDL APIs for registry and registry record management used by administrators.

      • CUSTOM_JWT - Authorize with a bearer token.

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

      Parameters:
      authorizerType - The type of authorizer to use for the registry. This controls the authorization method for the Search and Invoke APIs used by consumers, and does not affect the standard CRUDL APIs for registry and registry record management used by administrators.

      • 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

      CreateRegistryRequest.Builder authorizerType(RegistryAuthorizerType authorizerType)

      The type of authorizer to use for the registry. This controls the authorization method for the Search and Invoke APIs used by consumers, and does not affect the standard CRUDL APIs for registry and registry record management used by administrators.

      • CUSTOM_JWT - Authorize with a bearer token.

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

      Parameters:
      authorizerType - The type of authorizer to use for the registry. This controls the authorization method for the Search and Invoke APIs used by consumers, and does not affect the standard CRUDL APIs for registry and registry record management used by administrators.

      • 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

      CreateRegistryRequest.Builder authorizerConfiguration(AuthorizerConfiguration authorizerConfiguration)

      The authorizer configuration for the registry. Required if authorizerType is CUSTOM_JWT. For details, see the AuthorizerConfiguration data type.

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

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

      The authorizer configuration for the registry. Required if authorizerType is CUSTOM_JWT. 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:
    • clientToken

      CreateRegistryRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.

      Parameters:
      clientToken - A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • approvalConfiguration

      CreateRegistryRequest.Builder approvalConfiguration(ApprovalConfiguration approvalConfiguration)

      The approval configuration for registry records. Controls whether records require explicit approval before becoming active. See the ApprovalConfiguration data type for supported configuration options.

      Parameters:
      approvalConfiguration - The approval configuration for registry records. Controls whether records require explicit approval before becoming active. See the ApprovalConfiguration data type for supported configuration options.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • approvalConfiguration

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

      The approval configuration for registry records. Controls whether records require explicit approval before becoming active. See the ApprovalConfiguration data type for supported configuration options.

      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:
    • overrideConfiguration

      CreateRegistryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.