Interface ResolveComponentCandidatesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ResolveComponentCandidatesRequest.Builder,,ResolveComponentCandidatesRequest> GreengrassV2Request.Builder,SdkBuilder<ResolveComponentCandidatesRequest.Builder,,ResolveComponentCandidatesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ResolveComponentCandidatesRequest
public static interface ResolveComponentCandidatesRequest.Builder
extends GreengrassV2Request.Builder, SdkPojo, CopyableBuilder<ResolveComponentCandidatesRequest.Builder,ResolveComponentCandidatesRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncomponentCandidates(Collection<ComponentCandidate> componentCandidates) The list of components to resolve.componentCandidates(Consumer<ComponentCandidate.Builder>... componentCandidates) The list of components to resolve.componentCandidates(ComponentCandidate... componentCandidates) The list of components to resolve.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.platform(Consumer<ComponentPlatform.Builder> platform) The platform to use to resolve compatible components.platform(ComponentPlatform platform) The platform to use to resolve compatible components.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.greengrassv2.model.GreengrassV2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
platform
The platform to use to resolve compatible components.
- Parameters:
platform- The platform to use to resolve compatible components.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platform
default ResolveComponentCandidatesRequest.Builder platform(Consumer<ComponentPlatform.Builder> platform) The platform to use to resolve compatible components.
This is a convenience method that creates an instance of theComponentPlatform.Builderavoiding the need to create one manually viaComponentPlatform.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toplatform(ComponentPlatform).- Parameters:
platform- a consumer that will call methods onComponentPlatform.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
componentCandidates
ResolveComponentCandidatesRequest.Builder componentCandidates(Collection<ComponentCandidate> componentCandidates) The list of components to resolve.
- Parameters:
componentCandidates- The list of components to resolve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentCandidates
ResolveComponentCandidatesRequest.Builder componentCandidates(ComponentCandidate... componentCandidates) The list of components to resolve.
- Parameters:
componentCandidates- The list of components to resolve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentCandidates
ResolveComponentCandidatesRequest.Builder componentCandidates(Consumer<ComponentCandidate.Builder>... componentCandidates) The list of components to resolve.
This is a convenience method that creates an instance of theComponentCandidate.Builderavoiding the need to create one manually viaComponentCandidate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocomponentCandidates(List<ComponentCandidate>).- Parameters:
componentCandidates- a consumer that will call methods onComponentCandidate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ResolveComponentCandidatesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ResolveComponentCandidatesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-