Class GetConnectionRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetConnectionRequest.Builder,GetConnectionRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal ComputeEnvironmentFor connections that may be used in multiple services, specifies returning properties for the specified compute environment.final StringFor connections that may be used in multiple services, specifies returning properties for the specified compute environment.static GetConnectionRequest.Builderbuilder()final StringThe ID of the Data Catalog in which the connection resides.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final BooleanAllows you to retrieve the connection metadata without returning the password.final Stringname()The name of the connection definition to retrieve.static Class<? extends GetConnectionRequest.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
-
catalogId
The ID of the Data Catalog in which the connection resides. If none is provided, the Amazon Web Services account ID is used by default.
- Returns:
- The ID of the Data Catalog in which the connection resides. If none is provided, the Amazon Web Services account ID is used by default.
-
name
The name of the connection definition to retrieve.
- Returns:
- The name of the connection definition to retrieve.
-
hidePassword
Allows you to retrieve the connection metadata without returning the password. For instance, the Glue console uses this flag to retrieve the connection, and does not display the password. Set this parameter when the caller might not have permission to use the KMS key to decrypt the password, but it does have permission to access the rest of the connection properties.
- Returns:
- Allows you to retrieve the connection metadata without returning the password. For instance, the Glue console uses this flag to retrieve the connection, and does not display the password. Set this parameter when the caller might not have permission to use the KMS key to decrypt the password, but it does have permission to access the rest of the connection properties.
-
applyOverrideForComputeEnvironment
For connections that may be used in multiple services, specifies returning properties for the specified compute environment.
If the service returns an enum value that is not available in the current SDK version,
applyOverrideForComputeEnvironmentwill returnComputeEnvironment.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromapplyOverrideForComputeEnvironmentAsString().- Returns:
- For connections that may be used in multiple services, specifies returning properties for the specified compute environment.
- See Also:
-
applyOverrideForComputeEnvironmentAsString
For connections that may be used in multiple services, specifies returning properties for the specified compute environment.
If the service returns an enum value that is not available in the current SDK version,
applyOverrideForComputeEnvironmentwill returnComputeEnvironment.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromapplyOverrideForComputeEnvironmentAsString().- Returns:
- For connections that may be used in multiple services, specifies returning properties for the specified compute environment.
- See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetConnectionRequest.Builder,GetConnectionRequest> - Specified by:
toBuilderin classGlueRequest
-
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
-