@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BasicAuthConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Information about the basic authentication credentials used to configure a plugin.
Constructor and Description |
---|
BasicAuthConfiguration() |
Modifier and Type | Method and Description |
---|---|
BasicAuthConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getRoleArn()
The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials stored in a
Secrets Manager secret.
|
String |
getSecretArn()
The ARN of the Secrets Manager secret that stores the basic authentication credentials used for plugin
configuration..
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRoleArn(String roleArn)
The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials stored in a
Secrets Manager secret.
|
void |
setSecretArn(String secretArn)
The ARN of the Secrets Manager secret that stores the basic authentication credentials used for plugin
configuration..
|
String |
toString()
Returns a string representation of this object.
|
BasicAuthConfiguration |
withRoleArn(String roleArn)
The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials stored in a
Secrets Manager secret.
|
BasicAuthConfiguration |
withSecretArn(String secretArn)
The ARN of the Secrets Manager secret that stores the basic authentication credentials used for plugin
configuration..
|
public void setSecretArn(String secretArn)
The ARN of the Secrets Manager secret that stores the basic authentication credentials used for plugin configuration..
secretArn
- The ARN of the Secrets Manager secret that stores the basic authentication credentials used for plugin
configuration..public String getSecretArn()
The ARN of the Secrets Manager secret that stores the basic authentication credentials used for plugin configuration..
public BasicAuthConfiguration withSecretArn(String secretArn)
The ARN of the Secrets Manager secret that stores the basic authentication credentials used for plugin configuration..
secretArn
- The ARN of the Secrets Manager secret that stores the basic authentication credentials used for plugin
configuration..public void setRoleArn(String roleArn)
The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials stored in a Secrets Manager secret.
roleArn
- The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials stored in
a Secrets Manager secret.public String getRoleArn()
The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials stored in a Secrets Manager secret.
public BasicAuthConfiguration withRoleArn(String roleArn)
The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials stored in a Secrets Manager secret.
roleArn
- The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials stored in
a Secrets Manager secret.public String toString()
toString
in class Object
Object.toString()
public BasicAuthConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.