@Generated(value="software.amazon.awssdk:codegen") public final class ConnectorProfile extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConnectorProfile.Builder,ConnectorProfile>
Describes an instance of a connector. This includes the provided name, credentials ARN, connection-mode, and so on.
To keep the API intuitive and extensible, the fields that are common to all types of connector profiles are
explicitly specified at the top level. The rest of the connector-specific properties are available via the
connectorProfileProperties
field.
Modifier and Type | Class and Description |
---|---|
static interface |
ConnectorProfile.Builder |
Modifier and Type | Method and Description |
---|---|
static ConnectorProfile.Builder |
builder() |
ConnectionMode |
connectionMode()
Indicates the connection mode and if it is public or private.
|
String |
connectionModeAsString()
Indicates the connection mode and if it is public or private.
|
String |
connectorProfileArn()
The Amazon Resource Name (ARN) of the connector profile.
|
String |
connectorProfileName()
The name of the connector profile.
|
ConnectorProfileProperties |
connectorProfileProperties()
The connector-specific properties of the profile configuration.
|
ConnectorType |
connectorType()
The type of connector, such as Salesforce, Amplitude, and so on.
|
String |
connectorTypeAsString()
The type of connector, such as Salesforce, Amplitude, and so on.
|
Instant |
createdAt()
Specifies when the connector profile was created.
|
String |
credentialsArn()
The Amazon Resource Name (ARN) of the connector profile credentials.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdatedAt()
Specifies when the connector profile was last updated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ConnectorProfile.Builder> |
serializableBuilderClass() |
ConnectorProfile.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public final String connectorProfileArn()
The Amazon Resource Name (ARN) of the connector profile.
public final String connectorProfileName()
The name of the connector profile. The name is unique for each ConnectorProfile
in the AWS account.
ConnectorProfile
in the AWS
account.public final ConnectorType connectorType()
The type of connector, such as Salesforce, Amplitude, and so on.
If the service returns an enum value that is not available in the current SDK version, connectorType
will return ConnectorType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
connectorTypeAsString()
.
ConnectorType
public final String connectorTypeAsString()
The type of connector, such as Salesforce, Amplitude, and so on.
If the service returns an enum value that is not available in the current SDK version, connectorType
will return ConnectorType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
connectorTypeAsString()
.
ConnectorType
public final ConnectionMode connectionMode()
Indicates the connection mode and if it is public or private.
If the service returns an enum value that is not available in the current SDK version, connectionMode
will return ConnectionMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from connectionModeAsString()
.
ConnectionMode
public final String connectionModeAsString()
Indicates the connection mode and if it is public or private.
If the service returns an enum value that is not available in the current SDK version, connectionMode
will return ConnectionMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from connectionModeAsString()
.
ConnectionMode
public final String credentialsArn()
The Amazon Resource Name (ARN) of the connector profile credentials.
public final ConnectorProfileProperties connectorProfileProperties()
The connector-specific properties of the profile configuration.
public final Instant createdAt()
Specifies when the connector profile was created.
public final Instant lastUpdatedAt()
Specifies when the connector profile was last updated.
public ConnectorProfile.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ConnectorProfile.Builder,ConnectorProfile>
public static ConnectorProfile.Builder builder()
public static Class<? extends ConnectorProfile.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.