@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SAPODataConnectorProfileCredentials extends Object implements Serializable, Cloneable, StructuredPojo
The connector-specific profile credentials required when using SAPOData.
Constructor and Description |
---|
SAPODataConnectorProfileCredentials() |
Modifier and Type | Method and Description |
---|---|
SAPODataConnectorProfileCredentials |
clone() |
boolean |
equals(Object obj) |
BasicAuthCredentials |
getBasicAuthCredentials()
The SAPOData basic authentication credentials.
|
OAuthCredentials |
getOAuthCredentials()
The SAPOData OAuth type authentication credentials.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBasicAuthCredentials(BasicAuthCredentials basicAuthCredentials)
The SAPOData basic authentication credentials.
|
void |
setOAuthCredentials(OAuthCredentials oAuthCredentials)
The SAPOData OAuth type authentication credentials.
|
String |
toString()
Returns a string representation of this object.
|
SAPODataConnectorProfileCredentials |
withBasicAuthCredentials(BasicAuthCredentials basicAuthCredentials)
The SAPOData basic authentication credentials.
|
SAPODataConnectorProfileCredentials |
withOAuthCredentials(OAuthCredentials oAuthCredentials)
The SAPOData OAuth type authentication credentials.
|
public void setBasicAuthCredentials(BasicAuthCredentials basicAuthCredentials)
The SAPOData basic authentication credentials.
basicAuthCredentials
- The SAPOData basic authentication credentials.public BasicAuthCredentials getBasicAuthCredentials()
The SAPOData basic authentication credentials.
public SAPODataConnectorProfileCredentials withBasicAuthCredentials(BasicAuthCredentials basicAuthCredentials)
The SAPOData basic authentication credentials.
basicAuthCredentials
- The SAPOData basic authentication credentials.public void setOAuthCredentials(OAuthCredentials oAuthCredentials)
The SAPOData OAuth type authentication credentials.
oAuthCredentials
- The SAPOData OAuth type authentication credentials.public OAuthCredentials getOAuthCredentials()
The SAPOData OAuth type authentication credentials.
public SAPODataConnectorProfileCredentials withOAuthCredentials(OAuthCredentials oAuthCredentials)
The SAPOData OAuth type authentication credentials.
oAuthCredentials
- The SAPOData OAuth type authentication credentials.public String toString()
toString
in class Object
Object.toString()
public SAPODataConnectorProfileCredentials clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.