public class SigV4Authorization
extends java.lang.Object
implements java.io.Serializable
For more information, see Signature Version 4 signing process.
Constructor and Description |
---|
SigV4Authorization() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getRoleArn()
The ARN of the signing role.
|
java.lang.String |
getServiceName()
The service name to use while signing with Sig V4.
|
java.lang.String |
getSigningRegion()
The signing region.
|
int |
hashCode() |
void |
setRoleArn(java.lang.String roleArn)
The ARN of the signing role.
|
void |
setServiceName(java.lang.String serviceName)
The service name to use while signing with Sig V4.
|
void |
setSigningRegion(java.lang.String signingRegion)
The signing region.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SigV4Authorization |
withRoleArn(java.lang.String roleArn)
The ARN of the signing role.
|
SigV4Authorization |
withServiceName(java.lang.String serviceName)
The service name to use while signing with Sig V4.
|
SigV4Authorization |
withSigningRegion(java.lang.String signingRegion)
The signing region.
|
public java.lang.String getSigningRegion()
The signing region.
The signing region.
public void setSigningRegion(java.lang.String signingRegion)
The signing region.
signingRegion
- The signing region.
public SigV4Authorization withSigningRegion(java.lang.String signingRegion)
The signing region.
Returns a reference to this object so that method calls can be chained together.
signingRegion
- The signing region.
public java.lang.String getServiceName()
The service name to use while signing with Sig V4.
The service name to use while signing with Sig V4.
public void setServiceName(java.lang.String serviceName)
The service name to use while signing with Sig V4.
serviceName
- The service name to use while signing with Sig V4.
public SigV4Authorization withServiceName(java.lang.String serviceName)
The service name to use while signing with Sig V4.
Returns a reference to this object so that method calls can be chained together.
serviceName
- The service name to use while signing with Sig V4.
public java.lang.String getRoleArn()
The ARN of the signing role.
The ARN of the signing role.
public void setRoleArn(java.lang.String roleArn)
The ARN of the signing role.
roleArn
- The ARN of the signing role.
public SigV4Authorization withRoleArn(java.lang.String roleArn)
The ARN of the signing role.
Returns a reference to this object so that method calls can be chained together.
roleArn
- The ARN of the signing role.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.