Class ListSegmentReferencesRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.evidently.model.EvidentlyRequest
-
- software.amazon.awssdk.services.evidently.model.ListSegmentReferencesRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListSegmentReferencesRequest.Builder,ListSegmentReferencesRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListSegmentReferencesRequest extends EvidentlyRequest implements ToCopyableBuilder<ListSegmentReferencesRequest.Builder,ListSegmentReferencesRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListSegmentReferencesRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListSegmentReferencesRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of results to include in the response.StringnextToken()The token to use when requesting the next set of results.List<SdkField<?>>sdkFields()Stringsegment()The ARN of the segment that you want to view information for.static Class<? extends ListSegmentReferencesRequest.Builder>serializableBuilderClass()ListSegmentReferencesRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.SegmentReferenceResourceTypetype()Specifies whether to return information about launches or experiments that use this segment.StringtypeAsString()Specifies whether to return information about launches or experiments that use this segment.-
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
-
maxResults
public final Integer maxResults()
The maximum number of results to include in the response. If you omit this, the default of 50 is used.
- Returns:
- The maximum number of results to include in the response. If you omit this, the default of 50 is used.
-
nextToken
public final String nextToken()
The token to use when requesting the next set of results. You received this token from a previous
ListSegmentReferencesoperation.- Returns:
- The token to use when requesting the next set of results. You received this token from a previous
ListSegmentReferencesoperation.
-
segment
public final String segment()
The ARN of the segment that you want to view information for.
- Returns:
- The ARN of the segment that you want to view information for.
-
type
public final SegmentReferenceResourceType type()
Specifies whether to return information about launches or experiments that use this segment.
If the service returns an enum value that is not available in the current SDK version,
typewill returnSegmentReferenceResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Specifies whether to return information about launches or experiments that use this segment.
- See Also:
SegmentReferenceResourceType
-
typeAsString
public final String typeAsString()
Specifies whether to return information about launches or experiments that use this segment.
If the service returns an enum value that is not available in the current SDK version,
typewill returnSegmentReferenceResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Specifies whether to return information about launches or experiments that use this segment.
- See Also:
SegmentReferenceResourceType
-
toBuilder
public ListSegmentReferencesRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListSegmentReferencesRequest.Builder,ListSegmentReferencesRequest>- Specified by:
toBuilderin classEvidentlyRequest
-
builder
public static ListSegmentReferencesRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListSegmentReferencesRequest.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
-
-