@Generated(value="software.amazon.awssdk:codegen") public final class SourceAccessConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SourceAccessConfiguration.Builder,SourceAccessConfiguration>
(MQ) The Secrets Manager secret that stores your broker credentials. To store your secret, use the following format:
{ "username": "your username", "password": "your password" }
| Modifier and Type | Class and Description |
|---|---|
static interface |
SourceAccessConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SourceAccessConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SourceAccessConfiguration.Builder> |
serializableBuilderClass() |
SourceAccessConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
SourceAccessType |
type()
To reference the secret, use the following format:
[ { "Type": "BASIC_AUTH", "URI": "secretARN" } ] |
String |
typeAsString()
To reference the secret, use the following format:
[ { "Type": "BASIC_AUTH", "URI": "secretARN" } ] |
String |
uri()
To reference the secret, use the following format:
[ { "Type": "BASIC_AUTH", "URI": "secretARN" } ] |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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.
If the service returns an enum value that is not available in the current SDK version, type will return
SourceAccessType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
[ { "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 typeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, type will return
SourceAccessType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
[ { "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 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.
[ { "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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SourceAccessConfiguration.Builder,SourceAccessConfiguration>public static SourceAccessConfiguration.Builder builder()
public static Class<? extends SourceAccessConfiguration.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.