Interface PutAccountSettingsResponse.Builder
- All Superinterfaces:
ArtifactResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<PutAccountSettingsResponse.Builder,,PutAccountSettingsResponse> SdkBuilder<PutAccountSettingsResponse.Builder,,PutAccountSettingsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PutAccountSettingsResponse
@Mutable
@NotThreadSafe
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, responseMetadataMethods 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, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaAccountSettings.builder().When the
Consumercompletes,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:
-