Class CreateConnectionRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateConnectionRequest.Builder,CreateConnectionRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionThe type of authorization to use for the connection.final StringThe type of authorization to use for the connection.The authorization parameters to use to authorize with the endpoint.builder()final StringA description for the connection to create.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()For connections to private APIs, the parameters to use for invoking the API.final StringThe identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt this connection.final Stringname()The name for the connection to create.static Class<? extends CreateConnectionRequest.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
The name for the connection to create.
- Returns:
- The name for the connection to create.
-
description
A description for the connection to create.
- Returns:
- A description for the connection to create.
-
authorizationType
The type of authorization to use for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
If the service returns an enum value that is not available in the current SDK version,
authorizationTypewill returnConnectionAuthorizationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromauthorizationTypeAsString().- Returns:
- The type of authorization to use for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
- See Also:
-
authorizationTypeAsString
The type of authorization to use for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
If the service returns an enum value that is not available in the current SDK version,
authorizationTypewill returnConnectionAuthorizationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromauthorizationTypeAsString().- Returns:
- The type of authorization to use for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
- See Also:
-
authParameters
The authorization parameters to use to authorize with the endpoint.
You must include only authorization parameters for the
AuthorizationTypeyou specify.- Returns:
- The authorization parameters to use to authorize with the endpoint.
You must include only authorization parameters for the
AuthorizationTypeyou specify.
-
invocationConnectivityParameters
For connections to private APIs, the parameters to use for invoking the API.
For more information, see Connecting to private APIs in the Amazon EventBridge User Guide .
- Returns:
- For connections to private APIs, the parameters to use for invoking the API.
For more information, see Connecting to private APIs in the Amazon EventBridge User Guide .
-
kmsKeyIdentifier
The identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt this connection. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.
If you do not specify a customer managed key identifier, EventBridge uses an Amazon Web Services owned key to encrypt the connection.
For more information, see Identify and view keys in the Key Management Service Developer Guide.
- Returns:
- The identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer
managed key to encrypt this connection. The identifier can be the key Amazon Resource Name (ARN), KeyId,
key alias, or key alias ARN.
If you do not specify a customer managed key identifier, EventBridge uses an Amazon Web Services owned key to encrypt the connection.
For more information, see Identify and view keys in the Key Management Service Developer Guide.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateConnectionRequest.Builder,CreateConnectionRequest> - Specified by:
toBuilderin classEventBridgeRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-