Interface GetExclusionsPreviewResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetExclusionsPreviewResponse.Builder,GetExclusionsPreviewResponse>, InspectorResponse.Builder, SdkBuilder<GetExclusionsPreviewResponse.Builder,GetExclusionsPreviewResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetExclusionsPreviewResponse

public static interface GetExclusionsPreviewResponse.Builder extends InspectorResponse.Builder, SdkPojo, CopyableBuilder<GetExclusionsPreviewResponse.Builder,GetExclusionsPreviewResponse>
  • Method Details

    • previewStatus

      GetExclusionsPreviewResponse.Builder previewStatus(String previewStatus)

      Specifies the status of the request to generate an exclusions preview.

      Parameters:
      previewStatus - Specifies the status of the request to generate an exclusions preview.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • previewStatus

      Specifies the status of the request to generate an exclusions preview.

      Parameters:
      previewStatus - Specifies the status of the request to generate an exclusions preview.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • exclusionPreviews

      GetExclusionsPreviewResponse.Builder exclusionPreviews(Collection<ExclusionPreview> exclusionPreviews)

      Information about the exclusions included in the preview.

      Parameters:
      exclusionPreviews - Information about the exclusions included in the preview.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • exclusionPreviews

      GetExclusionsPreviewResponse.Builder exclusionPreviews(ExclusionPreview... exclusionPreviews)

      Information about the exclusions included in the preview.

      Parameters:
      exclusionPreviews - Information about the exclusions included in the preview.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • exclusionPreviews

      Information about the exclusions included in the preview.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to exclusionPreviews(List<ExclusionPreview>).

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

      When a response is generated, if there is more data to be listed, this parameters is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.

      Parameters:
      nextToken - When a response is generated, if there is more data to be listed, this parameters is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
      Returns:
      Returns a reference to this object so that method calls can be chained together.