Interface ProtectedQuerySummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ProtectedQuerySummary.Builder,
,ProtectedQuerySummary> SdkBuilder<ProtectedQuerySummary.Builder,
,ProtectedQuerySummary> SdkPojo
- Enclosing class:
ProtectedQuerySummary
@Mutable
@NotThreadSafe
public static interface ProtectedQuerySummary.Builder
extends SdkPojo, CopyableBuilder<ProtectedQuerySummary.Builder,ProtectedQuerySummary>
-
Method Summary
Modifier and TypeMethodDescriptioncreateTime
(Instant createTime) The time the protected query was created.The unique ID of the protected query.membershipArn
(String membershipArn) The unique ARN for the membership that initiated the protected query.membershipId
(String membershipId) The unique ID for the membership that initiated the protected query.receiverConfigurations
(Collection<ReceiverConfiguration> receiverConfigurations) The receiver configuration.receiverConfigurations
(Consumer<ReceiverConfiguration.Builder>... receiverConfigurations) The receiver configuration.receiverConfigurations
(ReceiverConfiguration... receiverConfigurations) The receiver configuration.The status of the protected query.status
(ProtectedQueryStatus status) The status of the protected query.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, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The unique ID of the protected query.
- Parameters:
id
- The unique ID of the protected query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
membershipId
The unique ID for the membership that initiated the protected query.
- Parameters:
membershipId
- The unique ID for the membership that initiated the protected query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
membershipArn
The unique ARN for the membership that initiated the protected query.
- Parameters:
membershipArn
- The unique ARN for the membership that initiated the protected query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createTime
The time the protected query was created.
- Parameters:
createTime
- The time the protected query was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the protected query.
- Parameters:
status
- The status of the protected query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the protected query.
- Parameters:
status
- The status of the protected query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
receiverConfigurations
ProtectedQuerySummary.Builder receiverConfigurations(Collection<ReceiverConfiguration> receiverConfigurations) The receiver configuration.
- Parameters:
receiverConfigurations
- The receiver configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
receiverConfigurations
ProtectedQuerySummary.Builder receiverConfigurations(ReceiverConfiguration... receiverConfigurations) The receiver configuration.
- Parameters:
receiverConfigurations
- The receiver configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
receiverConfigurations
ProtectedQuerySummary.Builder receiverConfigurations(Consumer<ReceiverConfiguration.Builder>... receiverConfigurations) The receiver configuration.
This is a convenience method that creates an instance of theReceiverConfiguration.Builder
avoiding the need to create one manually viaReceiverConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreceiverConfigurations(List<ReceiverConfiguration>)
.- Parameters:
receiverConfigurations
- a consumer that will call methods onReceiverConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-