Class Connection
- All Implemented Interfaces:
- Serializable,- SdkPojo,- ToCopyableBuilder<Connection.Builder,- Connection> 
Contains information about a connection.
- See Also:
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionThe authorization type specified for the connection.final StringThe authorization type specified for the connection.static Connection.Builderbuilder()final StringThe ARN of the connection.final ConnectionStateThe state of the connection.final StringThe state of the connection.final InstantA time stamp for the time that the connection was created.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstantA time stamp for the time that the connection was last authorized.final InstantA time stamp for the time that the connection was last modified.final Stringname()The name of the connection.static Class<? extends Connection.Builder> final StringThe reason that the connection is in the connection state.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuildercopy
- 
Method Details- 
connectionArn
- 
name
- 
connectionStateThe state of the connection. If the service returns an enum value that is not available in the current SDK version, connectionStatewill returnConnectionState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconnectionStateAsString().- Returns:
- The state of the connection.
- See Also:
 
- 
connectionStateAsStringThe state of the connection. If the service returns an enum value that is not available in the current SDK version, connectionStatewill returnConnectionState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconnectionStateAsString().- Returns:
- The state of the connection.
- See Also:
 
- 
stateReasonThe reason that the connection is in the connection state. - Returns:
- The reason that the connection is in the connection state.
 
- 
authorizationTypeThe authorization type specified 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 authorization type specified for the connection. OAUTH tokens are refreshed when a 401 or 407 response is returned. 
- See Also:
 
- 
authorizationTypeAsStringThe authorization type specified 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 authorization type specified for the connection. OAUTH tokens are refreshed when a 401 or 407 response is returned. 
- See Also:
 
- 
creationTimeA time stamp for the time that the connection was created. - Returns:
- A time stamp for the time that the connection was created.
 
- 
lastModifiedTimeA time stamp for the time that the connection was last modified. - Returns:
- A time stamp for the time that the connection was last modified.
 
- 
lastAuthorizedTimeA time stamp for the time that the connection was last authorized. - Returns:
- A time stamp for the time that the connection was last authorized.
 
- 
toBuilderDescription copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToCopyableBuilder<Connection.Builder,- Connection> 
- Returns:
- a builder for type T
 
- 
builder
- 
serializableBuilderClass
- 
hashCode
- 
equals
- 
equalsBySdkFieldsDescription copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
- equalsBySdkFieldsin interface- SdkPojo
- Parameters:
- obj- the object to be compared with
- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
 
- 
toString
- 
getValueForField
- 
sdkFields
- 
sdkFieldNameToField- Specified by:
- sdkFieldNameToFieldin interface- SdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
 
 
-