Class CreateConnectorProfileRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.appflow.model.AppflowRequest
-
- software.amazon.awssdk.services.appflow.model.CreateConnectorProfileRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateConnectorProfileRequest.Builder,CreateConnectorProfileRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateConnectorProfileRequest extends AppflowRequest implements ToCopyableBuilder<CreateConnectorProfileRequest.Builder,CreateConnectorProfileRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateConnectorProfileRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateConnectorProfileRequest.Builderbuilder()StringclientToken()TheclientTokenparameter is an idempotency token.ConnectionModeconnectionMode()Indicates the connection mode and specifies whether it is public or private.StringconnectionModeAsString()Indicates the connection mode and specifies whether it is public or private.StringconnectorLabel()The label of the connector.ConnectorProfileConfigconnectorProfileConfig()Defines the connector-specific configuration and credentials.StringconnectorProfileName()The name of the connector profile.ConnectorTypeconnectorType()The type of connector, such as Salesforce, Amplitude, and so on.StringconnectorTypeAsString()The type of connector, such as Salesforce, Amplitude, and so on.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkmsArn()The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption.List<SdkField<?>>sdkFields()static Class<? extends CreateConnectorProfileRequest.Builder>serializableBuilderClass()CreateConnectorProfileRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
connectorProfileName
public final String connectorProfileName()
The name of the connector profile. The name is unique for each
ConnectorProfilein your Amazon Web Services account.- Returns:
- The name of the connector profile. The name is unique for each
ConnectorProfilein your Amazon Web Services account.
-
kmsArn
public final String kmsArn()
The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption. This is required if you do not want to use the Amazon AppFlow-managed KMS key. If you don't provide anything here, Amazon AppFlow uses the Amazon AppFlow-managed KMS key.
- Returns:
- The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption. This is required if you do not want to use the Amazon AppFlow-managed KMS key. If you don't provide anything here, Amazon AppFlow uses the Amazon AppFlow-managed KMS key.
-
connectorType
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,
connectorTypewill returnConnectorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconnectorTypeAsString().- Returns:
- The type of connector, such as Salesforce, Amplitude, and so on.
- See Also:
ConnectorType
-
connectorTypeAsString
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,
connectorTypewill returnConnectorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconnectorTypeAsString().- Returns:
- The type of connector, such as Salesforce, Amplitude, and so on.
- See Also:
ConnectorType
-
connectorLabel
public final String connectorLabel()
The label of the connector. The label is unique for each
ConnectorRegistrationin your Amazon Web Services account. Only needed if calling for CUSTOMCONNECTOR connector type/.- Returns:
- The label of the connector. The label is unique for each
ConnectorRegistrationin your Amazon Web Services account. Only needed if calling for CUSTOMCONNECTOR connector type/.
-
connectionMode
public final ConnectionMode connectionMode()
Indicates the connection mode and specifies whether it is public or private. Private flows use Amazon Web Services PrivateLink to route data over Amazon Web Services infrastructure without exposing it to the public internet.
If the service returns an enum value that is not available in the current SDK version,
connectionModewill returnConnectionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconnectionModeAsString().- Returns:
- Indicates the connection mode and specifies whether it is public or private. Private flows use Amazon Web Services PrivateLink to route data over Amazon Web Services infrastructure without exposing it to the public internet.
- See Also:
ConnectionMode
-
connectionModeAsString
public final String connectionModeAsString()
Indicates the connection mode and specifies whether it is public or private. Private flows use Amazon Web Services PrivateLink to route data over Amazon Web Services infrastructure without exposing it to the public internet.
If the service returns an enum value that is not available in the current SDK version,
connectionModewill returnConnectionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconnectionModeAsString().- Returns:
- Indicates the connection mode and specifies whether it is public or private. Private flows use Amazon Web Services PrivateLink to route data over Amazon Web Services infrastructure without exposing it to the public internet.
- See Also:
ConnectionMode
-
connectorProfileConfig
public final ConnectorProfileConfig connectorProfileConfig()
Defines the connector-specific configuration and credentials.
- Returns:
- Defines the connector-specific configuration and credentials.
-
clientToken
public final String clientToken()
The
clientTokenparameter is an idempotency token. It ensures that yourCreateConnectorProfilerequest completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the sameclientTokenparameter value.If you omit a
clientTokenvalue, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases.If you specify input parameters that differ from your first request, an error occurs. If you use a different value for
clientToken, Amazon AppFlow considers it a new call toCreateConnectorProfile. The token is active for 8 hours.- Returns:
- The
clientTokenparameter is an idempotency token. It ensures that yourCreateConnectorProfilerequest completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the sameclientTokenparameter value.If you omit a
clientTokenvalue, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases.If you specify input parameters that differ from your first request, an error occurs. If you use a different value for
clientToken, Amazon AppFlow considers it a new call toCreateConnectorProfile. The token is active for 8 hours.
-
toBuilder
public CreateConnectorProfileRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateConnectorProfileRequest.Builder,CreateConnectorProfileRequest>- Specified by:
toBuilderin classAppflowRequest
-
builder
public static CreateConnectorProfileRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateConnectorProfileRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-