Class SourceConnection
- java.lang.Object
-
- software.amazon.awssdk.services.servicecatalog.model.SourceConnection
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SourceConnection.Builder,SourceConnection>
@Generated("software.amazon.awssdk:codegen") public final class SourceConnection extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SourceConnection.Builder,SourceConnection>
A top level
ProductViewDetailresponse containing details about the product’s connection. Service Catalog returns this field for theCreateProduct,UpdateProduct,DescribeProductAsAdmin, andSearchProductAsAdminAPIs. This response contains the same fields as theConnectionParametersrequest, with the addition of theLastSyncresponse.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSourceConnection.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SourceConnection.Builderbuilder()SourceConnectionParametersconnectionParameters()The connection details based on the connectionType.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SourceConnection.Builder>serializableBuilderClass()SourceConnection.BuildertoBuilder()StringtoString()Returns a string representation of this object.SourceTypetype()The only supportedSourceConnectiontype is Codestar.StringtypeAsString()The only supportedSourceConnectiontype is Codestar.-
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
-
type
public final SourceType type()
The only supported
SourceConnectiontype is Codestar.If the service returns an enum value that is not available in the current SDK version,
typewill returnSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The only supported
SourceConnectiontype is Codestar. - See Also:
SourceType
-
typeAsString
public final String typeAsString()
The only supported
SourceConnectiontype is Codestar.If the service returns an enum value that is not available in the current SDK version,
typewill returnSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The only supported
SourceConnectiontype is Codestar. - See Also:
SourceType
-
connectionParameters
public final SourceConnectionParameters connectionParameters()
The connection details based on the connection
Type.- Returns:
- The connection details based on the connection
Type.
-
toBuilder
public SourceConnection.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SourceConnection.Builder,SourceConnection>
-
builder
public static SourceConnection.Builder builder()
-
serializableBuilderClass
public static Class<? extends SourceConnection.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-