Class UpdateConnectionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.eventbridge.model.EventBridgeRequest
-
- software.amazon.awssdk.services.eventbridge.model.UpdateConnectionRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateConnectionRequest.Builder,UpdateConnectionRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateConnectionRequest extends EventBridgeRequest implements ToCopyableBuilder<UpdateConnectionRequest.Builder,UpdateConnectionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateConnectionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionAuthorizationTypeauthorizationType()The type of authorization to use for the connection.StringauthorizationTypeAsString()The type of authorization to use for the connection.UpdateConnectionAuthRequestParametersauthParameters()The authorization parameters to use for the connection.static UpdateConnectionRequest.Builderbuilder()Stringdescription()A description for the connection.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the connection to update.List<SdkField<?>>sdkFields()static Class<? extends UpdateConnectionRequest.Builder>serializableBuilderClass()UpdateConnectionRequest.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
-
name
public final String name()
The name of the connection to update.
- Returns:
- The name of the connection to update.
-
description
public final String description()
A description for the connection.
- Returns:
- A description for the connection.
-
authorizationType
public final ConnectionAuthorizationType authorizationType()
The type of authorization to use for the connection.
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.
- See Also:
ConnectionAuthorizationType
-
authorizationTypeAsString
public final String authorizationTypeAsString()
The type of authorization to use for the connection.
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.
- See Also:
ConnectionAuthorizationType
-
authParameters
public final UpdateConnectionAuthRequestParameters authParameters()
The authorization parameters to use for the connection.
- Returns:
- The authorization parameters to use for the connection.
-
toBuilder
public UpdateConnectionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateConnectionRequest.Builder,UpdateConnectionRequest>- Specified by:
toBuilderin classEventBridgeRequest
-
builder
public static UpdateConnectionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateConnectionRequest.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
-
-