Interface CreateScopeSnapshotResponse.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

      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

      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

      CreateScopeSnapshotResponse.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

      CreateScopeSnapshotResponse.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 CreateScopeSnapshotResponse.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

      CreateScopeSnapshotResponse.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

      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

      CreateScopeSnapshotResponse.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

      The time when the snapshot was created.

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