Class AwsS3SignPolicyResult
- java.lang.Object
-
- com.mongodb.stitch.core.services.aws.s3.AwsS3SignPolicyResult
-
@Deprecated public class AwsS3SignPolicyResult extends Object
Deprecated.use AwsServiceClient instead.The result of an AWS S3 sign policy request.
-
-
Method Summary
Modifier and Type Method Description StringgetAlgorithm()Deprecated.Returns the algorithm used to compute the signature.StringgetCredential()Deprecated.Returns the credential that should be used when utilizing this signed policy.StringgetDate()Deprecated.Returns the date at which the signature was computed.StringgetPolicy()Deprecated.Returns the description of the policy that has been signed.StringgetSignature()Deprecated.Returns the computed signature of the policy.
-
-
-
Constructor Detail
-
AwsS3SignPolicyResult
public AwsS3SignPolicyResult(String policy, String signature, String algorithm, String date, String credential)
Deprecated.Constructs a new sign policy result.- Parameters:
policy- the description of the policy that has been signed.signature- the computed signature of the policy.algorithm- the algorithm used to compute the signature.date- the date at which the signature was computed.credential- the credential that should be used when utilizing this signed policy.
-
-
Method Detail
-
getPolicy
public String getPolicy()
Deprecated.Returns the description of the policy that has been signed.- Returns:
- the description of the policy that has been signed.
-
getSignature
public String getSignature()
Deprecated.Returns the computed signature of the policy.- Returns:
- the computed signature of the policy.
-
getAlgorithm
public String getAlgorithm()
Deprecated.Returns the algorithm used to compute the signature.- Returns:
- the algorithm used to compute the signature.
-
getDate
public String getDate()
Deprecated.Returns the date at which the signature was computed.- Returns:
- the date at which the signature was computed.
-
getCredential
public String getCredential()
Deprecated.Returns the credential that should be used when utilizing this signed policy.- Returns:
- the credential that should be used when utilizing this signed policy.
-
-