public static interface CreateHsmConfigurationResponse.Builder extends RedshiftResponse.Builder, CopyableBuilder<CreateHsmConfigurationResponse.Builder,CreateHsmConfigurationResponse>
Modifier and Type | Method and Description |
---|---|
default CreateHsmConfigurationResponse.Builder |
hsmConfiguration(Consumer<HsmConfiguration.Builder> hsmConfiguration)
Sets the value of the HsmConfiguration property for this object.
|
CreateHsmConfigurationResponse.Builder |
hsmConfiguration(HsmConfiguration hsmConfiguration)
Sets the value of the HsmConfiguration property for this object.
|
build
copy
apply, build
CreateHsmConfigurationResponse.Builder hsmConfiguration(HsmConfiguration hsmConfiguration)
hsmConfiguration
- The new value for the HsmConfiguration property for this object.default CreateHsmConfigurationResponse.Builder hsmConfiguration(Consumer<HsmConfiguration.Builder> hsmConfiguration)
HsmConfiguration.Builder
avoiding the need to
create one manually via HsmConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to hsmConfiguration(HsmConfiguration)
.hsmConfiguration
- a consumer that will call methods on HsmConfiguration.Builder
hsmConfiguration(HsmConfiguration)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.