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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetTrailResponse.Buildertrail(Consumer<Trail.Builder> trail)Sets the value of the Trail property for this object.GetTrailResponse.Buildertrail(Trail trail)Sets the value of the Trail property for this object.-
Methods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
trail
GetTrailResponse.Builder trail(Trail 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
default GetTrailResponse.Builder trail(Consumer<Trail.Builder> trail)
Sets the value of the Trail property for this object. This is a convenience method that creates an instance of theTrail.Builderavoiding the need to create one manually viaTrail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrail(Trail).- Parameters:
trail- a consumer that will call methods onTrail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
trail(Trail)
-
-