Interface CreateFlowLogsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateFlowLogsResponse.Builder,CreateFlowLogsResponse>,Ec2Response.Builder,SdkBuilder<CreateFlowLogsResponse.Builder,CreateFlowLogsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateFlowLogsResponse
@Mutable @NotThreadSafe public static interface CreateFlowLogsResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateFlowLogsResponse.Builder,CreateFlowLogsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateFlowLogsResponse.BuilderclientToken(String clientToken)Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.CreateFlowLogsResponse.BuilderflowLogIds(String... flowLogIds)The IDs of the flow logs.CreateFlowLogsResponse.BuilderflowLogIds(Collection<String> flowLogIds)The IDs of the flow logs.CreateFlowLogsResponse.Builderunsuccessful(Collection<UnsuccessfulItem> unsuccessful)Information about the flow logs that could not be created successfully.CreateFlowLogsResponse.Builderunsuccessful(Consumer<UnsuccessfulItem.Builder>... unsuccessful)Information about the flow logs that could not be created successfully.CreateFlowLogsResponse.Builderunsuccessful(UnsuccessfulItem... unsuccessful)Information about the flow logs that could not be created successfully.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
clientToken
CreateFlowLogsResponse.Builder clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientToken- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowLogIds
CreateFlowLogsResponse.Builder flowLogIds(Collection<String> flowLogIds)
The IDs of the flow logs.
- Parameters:
flowLogIds- The IDs of the flow logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowLogIds
CreateFlowLogsResponse.Builder flowLogIds(String... flowLogIds)
The IDs of the flow logs.
- Parameters:
flowLogIds- The IDs of the flow logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unsuccessful
CreateFlowLogsResponse.Builder unsuccessful(Collection<UnsuccessfulItem> unsuccessful)
Information about the flow logs that could not be created successfully.
- Parameters:
unsuccessful- Information about the flow logs that could not be created successfully.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unsuccessful
CreateFlowLogsResponse.Builder unsuccessful(UnsuccessfulItem... unsuccessful)
Information about the flow logs that could not be created successfully.
- Parameters:
unsuccessful- Information about the flow logs that could not be created successfully.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unsuccessful
CreateFlowLogsResponse.Builder unsuccessful(Consumer<UnsuccessfulItem.Builder>... unsuccessful)
Information about the flow logs that could not be created successfully.
This is a convenience method that creates an instance of theUnsuccessfulItem.Builderavoiding the need to create one manually viaUnsuccessfulItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#unsuccessful(List.) - Parameters:
unsuccessful- a consumer that will call methods onUnsuccessfulItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#unsuccessful(java.util.Collection)
-
-