Class GetSegmentEstimateResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.customerprofiles.model.CustomerProfilesResponse
-
- software.amazon.awssdk.services.customerprofiles.model.GetSegmentEstimateResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetSegmentEstimateResponse.Builder,GetSegmentEstimateResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetSegmentEstimateResponse extends CustomerProfilesResponse implements ToCopyableBuilder<GetSegmentEstimateResponse.Builder,GetSegmentEstimateResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetSegmentEstimateResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetSegmentEstimateResponse.Builderbuilder()StringdomainName()The unique name of the domain.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringestimate()The estimated number of profiles contained in the segment.StringestimateId()TheQueryIdwhich is the same as the value passed inQueryId.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmessage()The error message if there is any error.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetSegmentEstimateResponse.Builder>serializableBuilderClass()EstimateStatusstatus()The current status of the query.StringstatusAsString()The current status of the query.IntegerstatusCode()The status code of the segment estimate.GetSegmentEstimateResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.customerprofiles.model.CustomerProfilesResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
domainName
public final String domainName()
The unique name of the domain.
- Returns:
- The unique name of the domain.
-
estimateId
public final String estimateId()
The
QueryIdwhich is the same as the value passed inQueryId.- Returns:
- The
QueryIdwhich is the same as the value passed inQueryId.
-
status
public final EstimateStatus status()
The current status of the query.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnEstimateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the query.
- See Also:
EstimateStatus
-
statusAsString
public final String statusAsString()
The current status of the query.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnEstimateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the query.
- See Also:
EstimateStatus
-
estimate
public final String estimate()
The estimated number of profiles contained in the segment.
- Returns:
- The estimated number of profiles contained in the segment.
-
message
public final String message()
The error message if there is any error.
- Returns:
- The error message if there is any error.
-
statusCode
public final Integer statusCode()
The status code of the segment estimate.
- Returns:
- The status code of the segment estimate.
-
toBuilder
public GetSegmentEstimateResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetSegmentEstimateResponse.Builder,GetSegmentEstimateResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetSegmentEstimateResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetSegmentEstimateResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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 classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-