Class ApiNameVersion
- java.lang.Object
-
- software.amazon.encryption.s3.internal.ApiNameVersion
-
public class ApiNameVersion extends Object
Provides the information for the ApiName APIs for the AWS SDK
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPI_VERSION_UNKNOWNstatic StringNAME
-
Constructor Summary
Constructors Constructor Description ApiNameVersion()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static software.amazon.awssdk.awscore.AwsRequestOverrideConfigurationaddApiNameToOverrideConfiguration(Optional<software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration> existingOverrideConfiguration)Returns anAwsRequestOverrideConfigurationwhich includes the S3EC API name while preserving any override configuration the caller already set on their request.static software.amazon.awssdk.core.ApiNameapiNameWithVersion()
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
API_VERSION_UNKNOWN
public static final String API_VERSION_UNKNOWN
- See Also:
- Constant Field Values
-
-
Method Detail
-
addApiNameToOverrideConfiguration
public static software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration addApiNameToOverrideConfiguration(Optional<software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration> existingOverrideConfiguration)
Returns anAwsRequestOverrideConfigurationwhich includes the S3EC API name while preserving any override configuration the caller already set on their request. This ensures caller-supplied configuration (e.g. custom headers, credentials providers, or signer overrides) is not dropped when the S3EC adds its API name.- Parameters:
existingOverrideConfiguration- the override configuration from the original request, if any- Returns:
- an override configuration containing the S3EC API name merged with the existing configuration
-
apiNameWithVersion
public static software.amazon.awssdk.core.ApiName apiNameWithVersion()
-
-