Interface InstanceConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceConfig.Builder,InstanceConfig>,SdkBuilder<InstanceConfig.Builder,InstanceConfig>,SdkPojo
- Enclosing class:
- InstanceConfig
public static interface InstanceConfig.Builder extends SdkPojo, CopyableBuilder<InstanceConfig.Builder,InstanceConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description InstanceConfig.BuilderconnectInstanceId(String connectInstanceId)Sets the value of the ConnectInstanceId property for this object.default InstanceConfig.BuilderencryptionConfig(Consumer<EncryptionConfig.Builder> encryptionConfig)Sets the value of the EncryptionConfig property for this object.InstanceConfig.BuilderencryptionConfig(EncryptionConfig encryptionConfig)Sets the value of the EncryptionConfig property for this object.InstanceConfig.BuilderserviceLinkedRoleArn(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, sdkFields
-
-
-
-
Method Detail
-
connectInstanceId
InstanceConfig.Builder connectInstanceId(String 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
InstanceConfig.Builder serviceLinkedRoleArn(String 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
InstanceConfig.Builder encryptionConfig(EncryptionConfig 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.Builderavoiding the need to create one manually viaEncryptionConfig.builder().When the
Consumercompletes,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:
encryptionConfig(EncryptionConfig)
-
-