Package software.amazon.awssdk.regions
Class ServiceMetadataConfiguration
- java.lang.Object
-
- software.amazon.awssdk.regions.ServiceMetadataConfiguration
-
public final class ServiceMetadataConfiguration extends Object
Configuration for aServiceMetadata. This allows modifying the values used by default when a metadata instance is generating endpoint data. Created using abuilder().
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServiceMetadataConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Optional<T>advancedOption(ServiceMetadataAdvancedOption<T> option)Load the optional requested advanced option that was configured on the service metadata builder.static ServiceMetadataConfiguration.Builderbuilder()Create aServiceMetadataConfiguration.Builderthat can be used to createServiceMetadataConfigurationinstances.Supplier<ProfileFile>profileFile()Retrieve the profile file configured viaServiceMetadataConfiguration.Builder.profileFile(Supplier).StringprofileName()Retrieve the profile name configured viaServiceMetadataConfiguration.Builder.profileName(String).
-
-
-
Method Detail
-
builder
public static ServiceMetadataConfiguration.Builder builder()
Create aServiceMetadataConfiguration.Builderthat can be used to createServiceMetadataConfigurationinstances.
-
profileFile
public Supplier<ProfileFile> profileFile()
Retrieve the profile file configured viaServiceMetadataConfiguration.Builder.profileFile(Supplier).
-
profileName
public String profileName()
Retrieve the profile name configured viaServiceMetadataConfiguration.Builder.profileName(String).
-
advancedOption
public <T> Optional<T> advancedOption(ServiceMetadataAdvancedOption<T> option)
Load the optional requested advanced option that was configured on the service metadata builder.
-
-