Interface AnalysisTemplateArtifact.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AnalysisTemplateArtifact.Builder,
,AnalysisTemplateArtifact> SdkBuilder<AnalysisTemplateArtifact.Builder,
,AnalysisTemplateArtifact> SdkPojo
- Enclosing class:
AnalysisTemplateArtifact
@Mutable
@NotThreadSafe
public static interface AnalysisTemplateArtifact.Builder
extends SdkPojo, CopyableBuilder<AnalysisTemplateArtifact.Builder,AnalysisTemplateArtifact>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AnalysisTemplateArtifact.Builder
location
(Consumer<S3Location.Builder> location) The artifact location.location
(S3Location location) The artifact location.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, sdkFieldNameToField, sdkFields
-
Method Details
-
location
The artifact location.
- Parameters:
location
- The artifact location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
The artifact location.
This is a convenience method that creates an instance of theS3Location.Builder
avoiding the need to create one manually viaS3Location.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolocation(S3Location)
.- Parameters:
location
- a consumer that will call methods onS3Location.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-