Class ServiceNowConnectorProfileCredentials
- java.lang.Object
-
- software.amazon.awssdk.services.appflow.model.ServiceNowConnectorProfileCredentials
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServiceNowConnectorProfileCredentials.Builder,ServiceNowConnectorProfileCredentials>
@Generated("software.amazon.awssdk:codegen") public final class ServiceNowConnectorProfileCredentials extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceNowConnectorProfileCredentials.Builder,ServiceNowConnectorProfileCredentials>
The connector-specific profile credentials required when using ServiceNow.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceServiceNowConnectorProfileCredentials.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceNowConnectorProfileCredentials.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()OAuth2CredentialsoAuth2Credentials()The OAuth 2.0 credentials required to authenticate the user.Stringpassword()The password that corresponds to the user name.List<SdkField<?>>sdkFields()static Class<? extends ServiceNowConnectorProfileCredentials.Builder>serializableBuilderClass()ServiceNowConnectorProfileCredentials.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringusername()The name of the user.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
username
public final String username()
The name of the user.
- Returns:
- The name of the user.
-
password
public final String password()
The password that corresponds to the user name.
- Returns:
- The password that corresponds to the user name.
-
oAuth2Credentials
public final OAuth2Credentials oAuth2Credentials()
The OAuth 2.0 credentials required to authenticate the user.
- Returns:
- The OAuth 2.0 credentials required to authenticate the user.
-
toBuilder
public ServiceNowConnectorProfileCredentials.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ServiceNowConnectorProfileCredentials.Builder,ServiceNowConnectorProfileCredentials>
-
builder
public static ServiceNowConnectorProfileCredentials.Builder builder()
-
serializableBuilderClass
public static Class<? extends ServiceNowConnectorProfileCredentials.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-