Interface PutDiscoveryConfigurationResponse.Builder
- All Superinterfaces:
ApiPortalResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<PutDiscoveryConfigurationResponse.Builder,,PutDiscoveryConfigurationResponse> SdkBuilder<PutDiscoveryConfigurationResponse.Builder,,PutDiscoveryConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PutDiscoveryConfigurationResponse
@Mutable
@NotThreadSafe
public static interface PutDiscoveryConfigurationResponse.Builder
extends ApiPortalResponse.Builder, SdkPojo, CopyableBuilder<PutDiscoveryConfigurationResponse.Builder,PutDiscoveryConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondiscoveryConfiguration(Consumer<DiscoveryConfigurationData.Builder> discoveryConfiguration) The discovery configuration for the account.discoveryConfiguration(DiscoveryConfigurationData discoveryConfiguration) The discovery configuration for the account.Sets the value of the Tags property for this object.Methods inherited from interface software.amazon.awssdk.services.apiportal.model.ApiPortalResponse.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
-
discoveryConfiguration
PutDiscoveryConfigurationResponse.Builder discoveryConfiguration(DiscoveryConfigurationData discoveryConfiguration) The discovery configuration for the account.
- Parameters:
discoveryConfiguration- The discovery configuration for the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
discoveryConfiguration
default PutDiscoveryConfigurationResponse.Builder discoveryConfiguration(Consumer<DiscoveryConfigurationData.Builder> discoveryConfiguration) The discovery configuration for the account.
This is a convenience method that creates an instance of theDiscoveryConfigurationData.Builderavoiding the need to create one manually viaDiscoveryConfigurationData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todiscoveryConfiguration(DiscoveryConfigurationData).- Parameters:
discoveryConfiguration- a consumer that will call methods onDiscoveryConfigurationData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-