Interface CreateScopeResponse.Builder

  • Method Details

    • scopeId

      The service-generated id of the scope.

      Parameters:
      scopeId - The service-generated id of the scope.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scopeArn

      CreateScopeResponse.Builder scopeArn(String scopeArn)

      The Amazon Resource Name (ARN) of the scope.

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

      CreateScopeResponse.Builder scopeName(String scopeName)

      The name of the scope.

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

      CreateScopeResponse.Builder scopeDescription(String scopeDescription)

      A description of the scope.

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

      CreateScopeResponse.Builder scopeConfiguration(ScopeConfiguration scopeConfiguration)

      The configuration that defines which accounts and resources are in scope.

      Parameters:
      scopeConfiguration - The configuration that defines which accounts and resources are in scope.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scopeConfiguration

      default CreateScopeResponse.Builder scopeConfiguration(Consumer<ScopeConfiguration.Builder> scopeConfiguration)

      The configuration that defines which accounts and resources are in scope.

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

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

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

      The current status of the resource: DRAFT (unpublished, editable) or ACTIVE (published, in use).

      Parameters:
      status - The current status of the resource: DRAFT (unpublished, editable) or ACTIVE (published, in use).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the resource: DRAFT (unpublished, editable) or ACTIVE (published, in use).

      Parameters:
      status - The current status of the resource: DRAFT (unpublished, editable) or ACTIVE (published, in use).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • version

      The version of the resource.

      Parameters:
      version - The version of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updateToken

      CreateScopeResponse.Builder updateToken(String updateToken)

      A token used for optimistic concurrency control. Each read and write returns an updateToken. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.

      Parameters:
      updateToken - A token used for optimistic concurrency control. Each read and write returns an updateToken. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isSnapshot

      CreateScopeResponse.Builder isSnapshot(Boolean isSnapshot)

      Specifies whether the resource is a snapshot of a published version.

      Parameters:
      isSnapshot - Specifies whether the resource is a snapshot of a published version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hasPublishedVersion

      CreateScopeResponse.Builder hasPublishedVersion(Boolean hasPublishedVersion)

      Specifies whether a published version of the resource exists.

      Parameters:
      hasPublishedVersion - Specifies whether a published version of the resource exists.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      CreateScopeResponse.Builder updatedAt(Instant updatedAt)

      The time when the resource was last updated.

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