Interface PreviewConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PreviewConfig.Builder,,PreviewConfig> SdkBuilder<PreviewConfig.Builder,,PreviewConfig> SdkPojo
- Enclosing class:
PreviewConfig
@Mutable
@NotThreadSafe
public static interface PreviewConfig.Builder
extends SdkPojo, CopyableBuilder<PreviewConfig.Builder,PreviewConfig>
-
Method Summary
Modifier and TypeMethodDescriptionagentActions(Collection<AgentAction> agentActions) Sets the value of the AgentActions property for this object.agentActions(AgentAction... agentActions) Sets the value of the AgentActions property for this object.agentActionsWithStrings(String... agentActions) Sets the value of the AgentActions property for this object.agentActionsWithStrings(Collection<String> agentActions) Sets the value of the AgentActions property for this object.bandwidthAllocation(Double bandwidthAllocation) Sets the value of the BandwidthAllocation property for this object.default PreviewConfig.BuildertimeoutConfig(Consumer<TimeoutConfig.Builder> timeoutConfig) Sets the value of the TimeoutConfig property for this object.timeoutConfig(TimeoutConfig timeoutConfig) Sets the value of the TimeoutConfig property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
bandwidthAllocation
Sets the value of the BandwidthAllocation property for this object.- Parameters:
bandwidthAllocation- The new value for the BandwidthAllocation property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeoutConfig
Sets the value of the TimeoutConfig property for this object.- Parameters:
timeoutConfig- The new value for the TimeoutConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeoutConfig
Sets the value of the TimeoutConfig property for this object. This is a convenience method that creates an instance of theTimeoutConfig.Builderavoiding the need to create one manually viaTimeoutConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeoutConfig(TimeoutConfig).- Parameters:
timeoutConfig- a consumer that will call methods onTimeoutConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
agentActionsWithStrings
Sets the value of the AgentActions property for this object.- Parameters:
agentActions- The new value for the AgentActions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentActionsWithStrings
Sets the value of the AgentActions property for this object.- Parameters:
agentActions- The new value for the AgentActions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentActions
Sets the value of the AgentActions property for this object.- Parameters:
agentActions- The new value for the AgentActions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentActions
Sets the value of the AgentActions property for this object.- Parameters:
agentActions- The new value for the AgentActions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-