Interface GetResourceSnapshotResponse.Builder

  • Method Details

    • arn

      The Amazon Resource Name (ARN) that uniquely identifies the resource snapshot.

      Parameters:
      arn - The Amazon Resource Name (ARN) that uniquely identifies the resource snapshot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • catalog

      The catalog in which the snapshot was created. Matches the Catalog specified in the request.

      Parameters:
      catalog - The catalog in which the snapshot was created. Matches the Catalog specified in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      The timestamp when the snapshot was created, in ISO 8601 format (e.g., "2023-06-01T14:30:00Z"). This allows for precise tracking of when the snapshot was taken.

      Parameters:
      createdAt - The timestamp when the snapshot was created, in ISO 8601 format (e.g., "2023-06-01T14:30:00Z"). This allows for precise tracking of when the snapshot was taken.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdBy

      The AWS account ID of the principal (user or role) who created the snapshot. This helps in tracking the origin of the snapshot.

      Parameters:
      createdBy - The AWS account ID of the principal (user or role) who created the snapshot. This helps in tracking the origin of the snapshot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • engagementId

      GetResourceSnapshotResponse.Builder engagementId(String engagementId)

      The identifier of the engagement associated with this snapshot. Matches the EngagementIdentifier specified in the request.

      Parameters:
      engagementId - The identifier of the engagement associated with this snapshot. Matches the EngagementIdentifier specified in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • payload

      Sets the value of the Payload property for this object.
      Parameters:
      payload - The new value for the Payload property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • payload

      Sets the value of the Payload property for this object. This is a convenience method that creates an instance of the ResourceSnapshotPayload.Builder avoiding the need to create one manually via ResourceSnapshotPayload.builder().

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

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

      The identifier of the specific resource that was snapshotted. Matches the ResourceIdentifier specified in the request.

      Parameters:
      resourceId - The identifier of the specific resource that was snapshotted. Matches the ResourceIdentifier specified in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceSnapshotTemplateName

      GetResourceSnapshotResponse.Builder resourceSnapshotTemplateName(String resourceSnapshotTemplateName)

      The name of the view used for this snapshot. This is the same as the template name.

      Parameters:
      resourceSnapshotTemplateName - The name of the view used for this snapshot. This is the same as the template name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceType

      GetResourceSnapshotResponse.Builder resourceType(String resourceType)

      The type of the resource that was snapshotted. Matches the ResourceType specified in the request.

      Parameters:
      resourceType - The type of the resource that was snapshotted. Matches the ResourceType specified in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceType

      The type of the resource that was snapshotted. Matches the ResourceType specified in the request.

      Parameters:
      resourceType - The type of the resource that was snapshotted. Matches the ResourceType specified in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • revision

      The revision number of this snapshot. This is a positive integer that is sequential and unique within the context of a resource view.

      Parameters:
      revision - The revision number of this snapshot. This is a positive integer that is sequential and unique within the context of a resource view.
      Returns:
      Returns a reference to this object so that method calls can be chained together.