@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuthorizationConfig extends Object implements Serializable, Cloneable, StructuredPojo
The authorization config 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 required by the HTTP endpoint.
|
AwsIamConfig |
getAwsIamConfig()
The AWS IAM settings.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAuthorizationType(String authorizationType)
The authorization type required by the HTTP endpoint.
|
void |
setAwsIamConfig(AwsIamConfig awsIamConfig)
The AWS IAM settings.
|
String |
toString()
Returns a string representation of this object.
|
AuthorizationConfig |
withAuthorizationType(AuthorizationType authorizationType)
The authorization type required by the HTTP endpoint.
|
AuthorizationConfig |
withAuthorizationType(String authorizationType)
The authorization type required by the HTTP endpoint.
|
AuthorizationConfig |
withAwsIamConfig(AwsIamConfig awsIamConfig)
The AWS IAM settings.
|
public void setAuthorizationType(String authorizationType)
The authorization type required by the HTTP endpoint.
AWS_IAM: The authorization type is Sigv4.
authorizationType
- The authorization type required by the HTTP endpoint.
AWS_IAM: The authorization type is Sigv4.
AuthorizationType
public String getAuthorizationType()
The authorization type required by the HTTP endpoint.
AWS_IAM: The authorization type is Sigv4.
AWS_IAM: The authorization type is Sigv4.
AuthorizationType
public AuthorizationConfig withAuthorizationType(String authorizationType)
The authorization type required by the HTTP endpoint.
AWS_IAM: The authorization type is Sigv4.
authorizationType
- The authorization type required by the HTTP endpoint.
AWS_IAM: The authorization type is Sigv4.
AuthorizationType
public AuthorizationConfig withAuthorizationType(AuthorizationType authorizationType)
The authorization type required by the HTTP endpoint.
AWS_IAM: The authorization type is Sigv4.
authorizationType
- The authorization type required by the HTTP endpoint.
AWS_IAM: The authorization type is Sigv4.
AuthorizationType
public void setAwsIamConfig(AwsIamConfig awsIamConfig)
The AWS IAM settings.
awsIamConfig
- The AWS IAM settings.public AwsIamConfig getAwsIamConfig()
The AWS IAM settings.
public AuthorizationConfig withAwsIamConfig(AwsIamConfig awsIamConfig)
The AWS IAM settings.
awsIamConfig
- The AWS IAM settings.public String toString()
toString
in class Object
Object.toString()
public AuthorizationConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2020. All rights reserved.