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 interfaceAddAssociationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AssociationEdgeTypeassociationType()The type of association.StringassociationTypeAsString()The type of association.static AddAssociationRequest.Builderbuilder()StringdestinationArn()The Amazon Resource Name (ARN) of the destination.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends AddAssociationRequest.Builder>serializableBuilderClass()StringsourceArn()The ARN of the source.AddAssociationRequest.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
-
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,
associationTypewill 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,
associationTypewill 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:
toBuilderin interfaceToCopyableBuilder<AddAssociationRequest.Builder,AddAssociationRequest>- Specified by:
toBuilderin classSageMakerRequest
-
builder
public static AddAssociationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends AddAssociationRequest.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
-
-