Class UpdateConfiguredAudienceModelRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.cleanroomsml.model.CleanRoomsMlRequest
-
- software.amazon.awssdk.services.cleanroomsml.model.UpdateConfiguredAudienceModelRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateConfiguredAudienceModelRequest.Builder,UpdateConfiguredAudienceModelRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateConfiguredAudienceModelRequest extends CleanRoomsMlRequest implements ToCopyableBuilder<UpdateConfiguredAudienceModelRequest.Builder,UpdateConfiguredAudienceModelRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateConfiguredAudienceModelRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaudienceModelArn()The Amazon Resource Name (ARN) of the new audience model that you want to use.AudienceSizeConfigaudienceSizeConfig()The new audience size configuration.static UpdateConfiguredAudienceModelRequest.Builderbuilder()StringconfiguredAudienceModelArn()The Amazon Resource Name (ARN) of the configured audience model that you want to update.Stringdescription()The new description of the configured audience model.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasSharedAudienceMetrics()For responses, this returns true if the service returned a value for the SharedAudienceMetrics property.IntegerminMatchingSeedSize()The minimum number of users from the seed audience that must match with users in the training data of the audience model.ConfiguredAudienceModelOutputConfigoutputConfig()The new output configuration.List<SdkField<?>>sdkFields()static Class<? extends UpdateConfiguredAudienceModelRequest.Builder>serializableBuilderClass()List<SharedAudienceMetrics>sharedAudienceMetrics()The new value for whether to share audience metrics.List<String>sharedAudienceMetricsAsStrings()The new value for whether to share audience metrics.UpdateConfiguredAudienceModelRequest.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
-
configuredAudienceModelArn
public final String configuredAudienceModelArn()
The Amazon Resource Name (ARN) of the configured audience model that you want to update.
- Returns:
- The Amazon Resource Name (ARN) of the configured audience model that you want to update.
-
outputConfig
public final ConfiguredAudienceModelOutputConfig outputConfig()
The new output configuration.
- Returns:
- The new output configuration.
-
audienceModelArn
public final String audienceModelArn()
The Amazon Resource Name (ARN) of the new audience model that you want to use.
- Returns:
- The Amazon Resource Name (ARN) of the new audience model that you want to use.
-
sharedAudienceMetrics
public final List<SharedAudienceMetrics> sharedAudienceMetrics()
The new value for whether to share audience metrics.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasSharedAudienceMetrics()method.- Returns:
- The new value for whether to share audience metrics.
-
hasSharedAudienceMetrics
public final boolean hasSharedAudienceMetrics()
For responses, this returns true if the service returned a value for the SharedAudienceMetrics property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
sharedAudienceMetricsAsStrings
public final List<String> sharedAudienceMetricsAsStrings()
The new value for whether to share audience metrics.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasSharedAudienceMetrics()method.- Returns:
- The new value for whether to share audience metrics.
-
minMatchingSeedSize
public final Integer minMatchingSeedSize()
The minimum number of users from the seed audience that must match with users in the training data of the audience model.
- Returns:
- The minimum number of users from the seed audience that must match with users in the training data of the audience model.
-
audienceSizeConfig
public final AudienceSizeConfig audienceSizeConfig()
The new audience size configuration.
- Returns:
- The new audience size configuration.
-
description
public final String description()
The new description of the configured audience model.
- Returns:
- The new description of the configured audience model.
-
toBuilder
public UpdateConfiguredAudienceModelRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateConfiguredAudienceModelRequest.Builder,UpdateConfiguredAudienceModelRequest>- Specified by:
toBuilderin classCleanRoomsMlRequest
-
builder
public static UpdateConfiguredAudienceModelRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateConfiguredAudienceModelRequest.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
-
-