@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SigV4Authorization extends Object implements Serializable, Cloneable, StructuredPojo
For more information, see Signature Version 4 signing process.
Constructor and Description |
---|
SigV4Authorization() |
Modifier and Type | Method and Description |
---|---|
SigV4Authorization |
clone() |
boolean |
equals(Object obj) |
String |
getRoleArn()
The ARN of the signing role.
|
String |
getServiceName()
The service name to use while signing with Sig V4.
|
String |
getSigningRegion()
The signing region.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRoleArn(String roleArn)
The ARN of the signing role.
|
void |
setServiceName(String serviceName)
The service name to use while signing with Sig V4.
|
void |
setSigningRegion(String signingRegion)
The signing region.
|
String |
toString()
Returns a string representation of this object.
|
SigV4Authorization |
withRoleArn(String roleArn)
The ARN of the signing role.
|
SigV4Authorization |
withServiceName(String serviceName)
The service name to use while signing with Sig V4.
|
SigV4Authorization |
withSigningRegion(String signingRegion)
The signing region.
|
public void setSigningRegion(String signingRegion)
The signing region.
signingRegion
- The signing region.public String getSigningRegion()
The signing region.
public SigV4Authorization withSigningRegion(String signingRegion)
The signing region.
signingRegion
- The signing region.public void setServiceName(String serviceName)
The service name to use while signing with Sig V4.
serviceName
- The service name to use while signing with Sig V4.public String getServiceName()
The service name to use while signing with Sig V4.
public SigV4Authorization withServiceName(String serviceName)
The service name to use while signing with Sig V4.
serviceName
- The service name to use while signing with Sig V4.public void setRoleArn(String roleArn)
The ARN of the signing role.
roleArn
- The ARN of the signing role.public String getRoleArn()
The ARN of the signing role.
public SigV4Authorization withRoleArn(String roleArn)
The ARN of the signing role.
roleArn
- The ARN of the signing role.public String toString()
toString
in class Object
Object.toString()
public SigV4Authorization clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.