Interface PutAccountSettingsResponse.Builder
- All Superinterfaces:
ArtifactResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<PutAccountSettingsResponse.Builder,
,PutAccountSettingsResponse> SdkBuilder<PutAccountSettingsResponse.Builder,
,PutAccountSettingsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
PutAccountSettingsResponse
public static interface PutAccountSettingsResponse.Builder
extends ArtifactResponse.Builder, SdkPojo, CopyableBuilder<PutAccountSettingsResponse.Builder,PutAccountSettingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaccountSettings
(Consumer<AccountSettings.Builder> accountSettings) Sets the value of the AccountSettings property for this object.accountSettings
(AccountSettings accountSettings) Sets the value of the AccountSettings property for this object.Methods inherited from interface software.amazon.awssdk.services.artifact.model.ArtifactResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
accountSettings
Sets the value of the AccountSettings property for this object.- Parameters:
accountSettings
- The new value for the AccountSettings property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountSettings
default PutAccountSettingsResponse.Builder accountSettings(Consumer<AccountSettings.Builder> accountSettings) Sets the value of the AccountSettings property for this object. This is a convenience method that creates an instance of theAccountSettings.Builder
avoiding the need to create one manually viaAccountSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccountSettings(AccountSettings)
.- Parameters:
accountSettings
- a consumer that will call methods onAccountSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-