Interface GetTrailResponse.Builder

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

public static interface GetTrailResponse.Builder extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<GetTrailResponse.Builder,GetTrailResponse>
  • Method Details

    • trail

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

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

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

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