Class AddAssociationRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.sagemaker.model.SageMakerRequest
-
- software.amazon.awssdk.services.sagemaker.model.AddAssociationRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<AddAssociationRequest.Builder,AddAssociationRequest>
@Generated("software.amazon.awssdk:codegen") public final class AddAssociationRequest extends SageMakerRequest implements ToCopyableBuilder<AddAssociationRequest.Builder,AddAssociationRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AddAssociationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AssociationEdgeType
associationType()
The type of association.String
associationTypeAsString()
The type of association.static AddAssociationRequest.Builder
builder()
String
destinationArn()
The Amazon Resource Name (ARN) of the destination.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends AddAssociationRequest.Builder>
serializableBuilderClass()
String
sourceArn()
The ARN of the source.AddAssociationRequest.Builder
toBuilder()
String
toString()
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
-
sourceArn
public final String sourceArn()
The ARN of the source.
- Returns:
- The ARN of the source.
-
destinationArn
public final String destinationArn()
The Amazon Resource Name (ARN) of the destination.
- Returns:
- The Amazon Resource Name (ARN) of the destination.
-
associationType
public final AssociationEdgeType associationType()
The type of association. The following are suggested uses for each type. Amazon SageMaker places no restrictions on their use.
-
ContributedTo - The source contributed to the destination or had a part in enabling the destination. For example, the training data contributed to the training job.
-
AssociatedWith - The source is connected to the destination. For example, an approval workflow is associated with a model deployment.
-
DerivedFrom - The destination is a modification of the source. For example, a digest output of a channel input for a processing job is derived from the original inputs.
-
Produced - The source generated the destination. For example, a training job produced a model artifact.
If the service returns an enum value that is not available in the current SDK version,
associationType
will returnAssociationEdgeType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromassociationTypeAsString()
.- Returns:
- The type of association. The following are suggested uses for each type. Amazon SageMaker places no
restrictions on their use.
-
ContributedTo - The source contributed to the destination or had a part in enabling the destination. For example, the training data contributed to the training job.
-
AssociatedWith - The source is connected to the destination. For example, an approval workflow is associated with a model deployment.
-
DerivedFrom - The destination is a modification of the source. For example, a digest output of a channel input for a processing job is derived from the original inputs.
-
Produced - The source generated the destination. For example, a training job produced a model artifact.
-
- See Also:
AssociationEdgeType
-
-
associationTypeAsString
public final String associationTypeAsString()
The type of association. The following are suggested uses for each type. Amazon SageMaker places no restrictions on their use.
-
ContributedTo - The source contributed to the destination or had a part in enabling the destination. For example, the training data contributed to the training job.
-
AssociatedWith - The source is connected to the destination. For example, an approval workflow is associated with a model deployment.
-
DerivedFrom - The destination is a modification of the source. For example, a digest output of a channel input for a processing job is derived from the original inputs.
-
Produced - The source generated the destination. For example, a training job produced a model artifact.
If the service returns an enum value that is not available in the current SDK version,
associationType
will returnAssociationEdgeType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromassociationTypeAsString()
.- Returns:
- The type of association. The following are suggested uses for each type. Amazon SageMaker places no
restrictions on their use.
-
ContributedTo - The source contributed to the destination or had a part in enabling the destination. For example, the training data contributed to the training job.
-
AssociatedWith - The source is connected to the destination. For example, an approval workflow is associated with a model deployment.
-
DerivedFrom - The destination is a modification of the source. For example, a digest output of a channel input for a processing job is derived from the original inputs.
-
Produced - The source generated the destination. For example, a training job produced a model artifact.
-
- See Also:
AssociationEdgeType
-
-
toBuilder
public AddAssociationRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<AddAssociationRequest.Builder,AddAssociationRequest>
- Specified by:
toBuilder
in classSageMakerRequest
-
builder
public static AddAssociationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends AddAssociationRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-