@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SourceAccessConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
(MQ) The Secrets Manager secret that stores your broker credentials. To store your secret, use the following format:
{ "username": "your username", "password": "your password" }
| Constructor and Description |
|---|
SourceAccessConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
SourceAccessConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getType()
To reference the secret, use the following format:
[ { "Type": "BASIC_AUTH", "URI": "secretARN" } ] |
String |
getURI()
To reference the secret, use the following format:
[ { "Type": "BASIC_AUTH", "URI": "secretARN" } ] |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setType(String type)
To reference the secret, use the following format:
[ { "Type": "BASIC_AUTH", "URI": "secretARN" } ] |
void |
setURI(String uRI)
To reference the secret, use the following format:
[ { "Type": "BASIC_AUTH", "URI": "secretARN" } ] |
String |
toString()
Returns a string representation of this object.
|
SourceAccessConfiguration |
withType(SourceAccessType type)
To reference the secret, use the following format:
[ { "Type": "BASIC_AUTH", "URI": "secretARN" } ] |
SourceAccessConfiguration |
withType(String type)
To reference the secret, use the following format:
[ { "Type": "BASIC_AUTH", "URI": "secretARN" } ] |
SourceAccessConfiguration |
withURI(String uRI)
To reference the secret, use the following format:
[ { "Type": "BASIC_AUTH", "URI": "secretARN" } ] |
public void setType(String type)
To reference the secret, use the following format: [ { "Type": "BASIC_AUTH", "URI": "secretARN" } ]
The value of Type is always BASIC_AUTH. To encrypt the secret, you can use customer or
service managed keys. When using a customer managed KMS key, the Lambda execution role requires
kms:Decrypt permissions.
type - To reference the secret, use the following format:
[ { "Type": "BASIC_AUTH", "URI": "secretARN" } ]
The value of Type is always BASIC_AUTH. To encrypt the secret, you can use
customer or service managed keys. When using a customer managed KMS key, the Lambda execution role
requires kms:Decrypt permissions.
SourceAccessTypepublic String getType()
To reference the secret, use the following format: [ { "Type": "BASIC_AUTH", "URI": "secretARN" } ]
The value of Type is always BASIC_AUTH. To encrypt the secret, you can use customer or
service managed keys. When using a customer managed KMS key, the Lambda execution role requires
kms:Decrypt permissions.
[ { "Type": "BASIC_AUTH", "URI": "secretARN" } ]
The value of Type is always BASIC_AUTH. To encrypt the secret, you can use
customer or service managed keys. When using a customer managed KMS key, the Lambda execution role
requires kms:Decrypt permissions.
SourceAccessTypepublic SourceAccessConfiguration withType(String type)
To reference the secret, use the following format: [ { "Type": "BASIC_AUTH", "URI": "secretARN" } ]
The value of Type is always BASIC_AUTH. To encrypt the secret, you can use customer or
service managed keys. When using a customer managed KMS key, the Lambda execution role requires
kms:Decrypt permissions.
type - To reference the secret, use the following format:
[ { "Type": "BASIC_AUTH", "URI": "secretARN" } ]
The value of Type is always BASIC_AUTH. To encrypt the secret, you can use
customer or service managed keys. When using a customer managed KMS key, the Lambda execution role
requires kms:Decrypt permissions.
SourceAccessTypepublic SourceAccessConfiguration withType(SourceAccessType type)
To reference the secret, use the following format: [ { "Type": "BASIC_AUTH", "URI": "secretARN" } ]
The value of Type is always BASIC_AUTH. To encrypt the secret, you can use customer or
service managed keys. When using a customer managed KMS key, the Lambda execution role requires
kms:Decrypt permissions.
type - To reference the secret, use the following format:
[ { "Type": "BASIC_AUTH", "URI": "secretARN" } ]
The value of Type is always BASIC_AUTH. To encrypt the secret, you can use
customer or service managed keys. When using a customer managed KMS key, the Lambda execution role
requires kms:Decrypt permissions.
SourceAccessTypepublic void setURI(String uRI)
To reference the secret, use the following format: [ { "Type": "BASIC_AUTH", "URI": "secretARN" } ]
The value of Type is always BASIC_AUTH. To encrypt the secret, you can use customer or
service managed keys. When using a customer managed KMS key, the Lambda execution role requires
kms:Decrypt permissions.
uRI - To reference the secret, use the following format:
[ { "Type": "BASIC_AUTH", "URI": "secretARN" } ]
The value of Type is always BASIC_AUTH. To encrypt the secret, you can use
customer or service managed keys. When using a customer managed KMS key, the Lambda execution role
requires kms:Decrypt permissions.
public String getURI()
To reference the secret, use the following format: [ { "Type": "BASIC_AUTH", "URI": "secretARN" } ]
The value of Type is always BASIC_AUTH. To encrypt the secret, you can use customer or
service managed keys. When using a customer managed KMS key, the Lambda execution role requires
kms:Decrypt permissions.
[ { "Type": "BASIC_AUTH", "URI": "secretARN" } ]
The value of Type is always BASIC_AUTH. To encrypt the secret, you can use
customer or service managed keys. When using a customer managed KMS key, the Lambda execution role
requires kms:Decrypt permissions.
public SourceAccessConfiguration withURI(String uRI)
To reference the secret, use the following format: [ { "Type": "BASIC_AUTH", "URI": "secretARN" } ]
The value of Type is always BASIC_AUTH. To encrypt the secret, you can use customer or
service managed keys. When using a customer managed KMS key, the Lambda execution role requires
kms:Decrypt permissions.
uRI - To reference the secret, use the following format:
[ { "Type": "BASIC_AUTH", "URI": "secretARN" } ]
The value of Type is always BASIC_AUTH. To encrypt the secret, you can use
customer or service managed keys. When using a customer managed KMS key, the Lambda execution role
requires kms:Decrypt permissions.
public String toString()
toString in class ObjectObject.toString()public SourceAccessConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.