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 class
ServiceMetadataConfiguration.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.Builder
builder()
Create aServiceMetadataConfiguration.Builder
that can be used to createServiceMetadataConfiguration
instances.Supplier<ProfileFile>
profileFile()
Retrieve the profile file configured viaServiceMetadataConfiguration.Builder.profileFile(Supplier)
.String
profileName()
Retrieve the profile name configured viaServiceMetadataConfiguration.Builder.profileName(String)
.
-
-
-
Method Detail
-
builder
public static ServiceMetadataConfiguration.Builder builder()
Create aServiceMetadataConfiguration.Builder
that can be used to createServiceMetadataConfiguration
instances.
-
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.
-
-