Interface Source.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Source.Builder,
,Source> SdkBuilder<Source.Builder,
,Source> SdkPojo
- Enclosing class:
Source
@Mutable
@NotThreadSafe
public static interface Source.Builder
extends SdkPojo, CopyableBuilder<Source.Builder,Source>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Source.Builder
sourceData
(Consumer<SourceData.Builder> sourceData) The data field of the trust anchor depending on its type.sourceData
(SourceData sourceData) The data field of the trust anchor depending on its type.sourceType
(String sourceType) The type of the trust anchor.sourceType
(TrustAnchorType sourceType) The type of the trust anchor.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
-
sourceData
The data field of the trust anchor depending on its type.
- Parameters:
sourceData
- The data field of the trust anchor depending on its type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceData
The data field of the trust anchor depending on its type.
This is a convenience method that creates an instance of theSourceData.Builder
avoiding the need to create one manually viaSourceData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceData(SourceData)
.- Parameters:
sourceData
- a consumer that will call methods onSourceData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceType
The type of the trust anchor.
- Parameters:
sourceType
- The type of the trust anchor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceType
The type of the trust anchor.
- Parameters:
sourceType
- The type of the trust anchor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-