@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)
Marshalls this structured data using the given
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.
SourceAccessType
public 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.
SourceAccessType
public 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.
SourceAccessType
public 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.
SourceAccessType
public 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 Object
Object.toString()
public SourceAccessConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.