public static final class ServiceMetadataConfiguration.Builder extends Object
Modifier and Type | Method and Description |
---|---|
ServiceMetadataConfiguration |
build()
Build the
ServiceMetadata instance with the updated configuration. |
ServiceMetadataConfiguration.Builder |
profileFile(Supplier<ProfileFile> profileFile)
Configure the profile file used by some services to calculate the endpoint from the region.
|
ServiceMetadataConfiguration.Builder |
profileName(String profileName)
Configure which profile in the
profileFile(Supplier) should be usedto calculate the endpoint from the region. |
public ServiceMetadataConfiguration.Builder profileFile(Supplier<ProfileFile> profileFile)
ProfileFile.defaultProfileFile()
is used.public ServiceMetadataConfiguration.Builder profileName(String profileName)
profileFile(Supplier)
should be usedto calculate the endpoint from the region.
If this is null, the ProfileFileSystemSetting.AWS_PROFILE
is used.public ServiceMetadataConfiguration build()
ServiceMetadata
instance with the updated configuration.Copyright © 2021. All rights reserved.