Interface Source.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Source.Builder,Source>,SdkBuilder<Source.Builder,Source>,SdkPojo
- Enclosing class:
- Source
public static interface Source.Builder extends SdkPojo, CopyableBuilder<Source.Builder,Source>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Source.BuildersourceData(Consumer<SourceData.Builder> sourceData)The data field of the trust anchor depending on its type.Source.BuildersourceData(SourceData sourceData)The data field of the trust anchor depending on its type.Source.BuildersourceType(String sourceType)The type of the trust anchor.Source.BuildersourceType(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, sdkFields
-
-
-
-
Method Detail
-
sourceData
Source.Builder sourceData(SourceData 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
default Source.Builder sourceData(Consumer<SourceData.Builder> sourceData)
The data field of the trust anchor depending on its type.
This is a convenience method that creates an instance of theSourceData.Builderavoiding the need to create one manually viaSourceData.builder().When the
Consumercompletes,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:
sourceData(SourceData)
-
sourceType
Source.Builder sourceType(String 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:
TrustAnchorType,TrustAnchorType
-
sourceType
Source.Builder sourceType(TrustAnchorType 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:
TrustAnchorType,TrustAnchorType
-
-