Interface CreateContainerServiceRegistryLoginResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateContainerServiceRegistryLoginResponse.Builder,
,CreateContainerServiceRegistryLoginResponse> LightsailResponse.Builder
,SdkBuilder<CreateContainerServiceRegistryLoginResponse.Builder,
,CreateContainerServiceRegistryLoginResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateContainerServiceRegistryLoginResponse
public static interface CreateContainerServiceRegistryLoginResponse.Builder
extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<CreateContainerServiceRegistryLoginResponse.Builder,CreateContainerServiceRegistryLoginResponse>
-
Method Summary
Modifier and TypeMethodDescriptionregistryLogin
(Consumer<ContainerServiceRegistryLogin.Builder> registryLogin) An object that describes the log in information for the container service registry of your Lightsail account.registryLogin
(ContainerServiceRegistryLogin registryLogin) An object that describes the log in information for the container service registry of your Lightsail account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailResponse.Builder
build, responseMetadata, responseMetadata
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
-
registryLogin
CreateContainerServiceRegistryLoginResponse.Builder registryLogin(ContainerServiceRegistryLogin registryLogin) An object that describes the log in information for the container service registry of your Lightsail account.
- Parameters:
registryLogin
- An object that describes the log in information for the container service registry of your Lightsail account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registryLogin
default CreateContainerServiceRegistryLoginResponse.Builder registryLogin(Consumer<ContainerServiceRegistryLogin.Builder> registryLogin) An object that describes the log in information for the container service registry of your Lightsail account.
This is a convenience method that creates an instance of theContainerServiceRegistryLogin.Builder
avoiding the need to create one manually viaContainerServiceRegistryLogin.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toregistryLogin(ContainerServiceRegistryLogin)
.- Parameters:
registryLogin
- a consumer that will call methods onContainerServiceRegistryLogin.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-