Interface InstanceConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InstanceConfig.Builder,
,InstanceConfig> SdkBuilder<InstanceConfig.Builder,
,InstanceConfig> SdkPojo
- Enclosing class:
InstanceConfig
@Mutable
@NotThreadSafe
public static interface InstanceConfig.Builder
extends SdkPojo, CopyableBuilder<InstanceConfig.Builder,InstanceConfig>
-
Method Summary
Modifier and TypeMethodDescriptionconnectInstanceId
(String connectInstanceId) Sets the value of the ConnectInstanceId property for this object.default InstanceConfig.Builder
encryptionConfig
(Consumer<EncryptionConfig.Builder> encryptionConfig) Sets the value of the EncryptionConfig property for this object.encryptionConfig
(EncryptionConfig encryptionConfig) Sets the value of the EncryptionConfig property for this object.serviceLinkedRoleArn
(String serviceLinkedRoleArn) Sets the value of the ServiceLinkedRoleArn property for this object.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
-
connectInstanceId
Sets the value of the ConnectInstanceId property for this object.- Parameters:
connectInstanceId
- The new value for the ConnectInstanceId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceLinkedRoleArn
Sets the value of the ServiceLinkedRoleArn property for this object.- Parameters:
serviceLinkedRoleArn
- The new value for the ServiceLinkedRoleArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfig
Sets the value of the EncryptionConfig property for this object.- Parameters:
encryptionConfig
- The new value for the EncryptionConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfig
default InstanceConfig.Builder encryptionConfig(Consumer<EncryptionConfig.Builder> encryptionConfig) Sets the value of the EncryptionConfig property for this object. This is a convenience method that creates an instance of theEncryptionConfig.Builder
avoiding the need to create one manually viaEncryptionConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionConfig(EncryptionConfig)
.- Parameters:
encryptionConfig
- a consumer that will call methods onEncryptionConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-