@Generated(value="software.amazon.awssdk:codegen") public final class CreateConnectionRequest extends EventBridgeRequest implements ToCopyableBuilder<CreateConnectionRequest.Builder,CreateConnectionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateConnectionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
ConnectionAuthorizationType |
authorizationType()
The type of authorization to use for the connection.
|
String |
authorizationTypeAsString()
The type of authorization to use for the connection.
|
CreateConnectionAuthRequestParameters |
authParameters()
A
CreateConnectionAuthRequestParameters object that contains the authorization parameters to use to
authorize with the endpoint. |
static CreateConnectionRequest.Builder |
builder() |
String |
description()
A description for the connection to create.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name for the connection to create.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateConnectionRequest.Builder> |
serializableBuilderClass() |
CreateConnectionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name for the connection to create.
public final String description()
A description for the connection to create.
public final ConnectionAuthorizationType 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, authorizationType
will return ConnectionAuthorizationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from authorizationTypeAsString().
OAUTH tokens are refreshed when a 401 or 407 response is returned.
ConnectionAuthorizationTypepublic final String 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, authorizationType
will return ConnectionAuthorizationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from authorizationTypeAsString().
OAUTH tokens are refreshed when a 401 or 407 response is returned.
ConnectionAuthorizationTypepublic final CreateConnectionAuthRequestParameters authParameters()
A CreateConnectionAuthRequestParameters object that contains the authorization parameters to use to
authorize with the endpoint.
CreateConnectionAuthRequestParameters object that contains the authorization parameters to
use to authorize with the endpoint.public CreateConnectionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateConnectionRequest.Builder,CreateConnectionRequest>toBuilder in class EventBridgeRequestpublic static CreateConnectionRequest.Builder builder()
public static Class<? extends CreateConnectionRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.