public static interface DescribeTrailsResponse.Builder extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<DescribeTrailsResponse.Builder,DescribeTrailsResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeTrailsResponse.Builder |
trailList(Collection<Trail> trailList)
The list of trail objects.
|
DescribeTrailsResponse.Builder |
trailList(Consumer<Trail.Builder>... trailList)
The list of trail objects.
|
DescribeTrailsResponse.Builder |
trailList(Trail... trailList)
The list of trail objects.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeTrailsResponse.Builder trailList(Collection<Trail> trailList)
The list of trail objects. Trail objects with string values are only returned if values for the objects exist
in a trail's configuration. For example, SNSTopicName and SNSTopicARN are only
returned in results if a trail is configured to send SNS notifications. Similarly, KMSKeyId only
appears in results if a trail's log files are encrypted with KMS customer managed keys.
trailList - The list of trail objects. Trail objects with string values are only returned if values for the
objects exist in a trail's configuration. For example, SNSTopicName and
SNSTopicARN are only returned in results if a trail is configured to send SNS
notifications. Similarly, KMSKeyId only appears in results if a trail's log files are
encrypted with KMS customer managed keys.DescribeTrailsResponse.Builder trailList(Trail... trailList)
The list of trail objects. Trail objects with string values are only returned if values for the objects exist
in a trail's configuration. For example, SNSTopicName and SNSTopicARN are only
returned in results if a trail is configured to send SNS notifications. Similarly, KMSKeyId only
appears in results if a trail's log files are encrypted with KMS customer managed keys.
trailList - The list of trail objects. Trail objects with string values are only returned if values for the
objects exist in a trail's configuration. For example, SNSTopicName and
SNSTopicARN are only returned in results if a trail is configured to send SNS
notifications. Similarly, KMSKeyId only appears in results if a trail's log files are
encrypted with KMS customer managed keys.DescribeTrailsResponse.Builder trailList(Consumer<Trail.Builder>... trailList)
The list of trail objects. Trail objects with string values are only returned if values for the objects exist
in a trail's configuration. For example, SNSTopicName and SNSTopicARN are only
returned in results if a trail is configured to send SNS notifications. Similarly, KMSKeyId only
appears in results if a trail's log files are encrypted with KMS customer managed keys.
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 #trailList(List.
trailList - a consumer that will call methods on
Trail.Builder#trailList(java.util.Collection) Copyright © 2023. All rights reserved.