@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuthorizationConfig extends Object implements Serializable, Cloneable, StructuredPojo
The authorization configuration in case the HTTP endpoint requires authorization.
| Constructor and Description |
|---|
AuthorizationConfig() |
| Modifier and Type | Method and Description |
|---|---|
AuthorizationConfig |
clone() |
boolean |
equals(Object obj) |
String |
getAuthorizationType()
The authorization type that the HTTP endpoint requires.
|
AwsIamConfig |
getAwsIamConfig()
The Identity and Access Management (IAM) settings.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAuthorizationType(String authorizationType)
The authorization type that the HTTP endpoint requires.
|
void |
setAwsIamConfig(AwsIamConfig awsIamConfig)
The Identity and Access Management (IAM) settings.
|
String |
toString()
Returns a string representation of this object.
|
AuthorizationConfig |
withAuthorizationType(AuthorizationType authorizationType)
The authorization type that the HTTP endpoint requires.
|
AuthorizationConfig |
withAuthorizationType(String authorizationType)
The authorization type that the HTTP endpoint requires.
|
AuthorizationConfig |
withAwsIamConfig(AwsIamConfig awsIamConfig)
The Identity and Access Management (IAM) settings.
|
public void setAuthorizationType(String authorizationType)
The authorization type that the HTTP endpoint requires.
AWS_IAM: The authorization type is Signature Version 4 (SigV4).
authorizationType - The authorization type that the HTTP endpoint requires.
AWS_IAM: The authorization type is Signature Version 4 (SigV4).
AuthorizationTypepublic String getAuthorizationType()
The authorization type that the HTTP endpoint requires.
AWS_IAM: The authorization type is Signature Version 4 (SigV4).
AWS_IAM: The authorization type is Signature Version 4 (SigV4).
AuthorizationTypepublic AuthorizationConfig withAuthorizationType(String authorizationType)
The authorization type that the HTTP endpoint requires.
AWS_IAM: The authorization type is Signature Version 4 (SigV4).
authorizationType - The authorization type that the HTTP endpoint requires.
AWS_IAM: The authorization type is Signature Version 4 (SigV4).
AuthorizationTypepublic AuthorizationConfig withAuthorizationType(AuthorizationType authorizationType)
The authorization type that the HTTP endpoint requires.
AWS_IAM: The authorization type is Signature Version 4 (SigV4).
authorizationType - The authorization type that the HTTP endpoint requires.
AWS_IAM: The authorization type is Signature Version 4 (SigV4).
AuthorizationTypepublic void setAwsIamConfig(AwsIamConfig awsIamConfig)
The Identity and Access Management (IAM) settings.
awsIamConfig - The Identity and Access Management (IAM) settings.public AwsIamConfig getAwsIamConfig()
The Identity and Access Management (IAM) settings.
public AuthorizationConfig withAwsIamConfig(AwsIamConfig awsIamConfig)
The Identity and Access Management (IAM) settings.
awsIamConfig - The Identity and Access Management (IAM) settings.public String toString()
toString in class ObjectObject.toString()public AuthorizationConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.