Class GetExclusionsPreviewRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.inspector.model.InspectorRequest
-
- software.amazon.awssdk.services.inspector.model.GetExclusionsPreviewRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetExclusionsPreviewRequest.Builder,GetExclusionsPreviewRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetExclusionsPreviewRequest extends InspectorRequest implements ToCopyableBuilder<GetExclusionsPreviewRequest.Builder,GetExclusionsPreviewRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetExclusionsPreviewRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringassessmentTemplateArn()The ARN that specifies the assessment template for which the exclusions preview was requested.static GetExclusionsPreviewRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Localelocale()The locale into which you want to translate the exclusion's title, description, and recommendation.StringlocaleAsString()The locale into which you want to translate the exclusion's title, description, and recommendation.IntegermaxResults()You can use this parameter to indicate the maximum number of items you want in the response.StringnextToken()You can use this parameter when paginating results.StringpreviewToken()The unique identifier associated of the exclusions preview.List<SdkField<?>>sdkFields()static Class<? extends GetExclusionsPreviewRequest.Builder>serializableBuilderClass()GetExclusionsPreviewRequest.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
-
assessmentTemplateArn
public final String assessmentTemplateArn()
The ARN that specifies the assessment template for which the exclusions preview was requested.
- Returns:
- The ARN that specifies the assessment template for which the exclusions preview was requested.
-
previewToken
public final String previewToken()
The unique identifier associated of the exclusions preview.
- Returns:
- The unique identifier associated of the exclusions preview.
-
nextToken
public final String nextToken()
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the GetExclusionsPreviewRequest action. Subsequent calls to the action fill nextToken in the request with the value of nextToken from the previous response to continue listing data.
- Returns:
- You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the GetExclusionsPreviewRequest action. Subsequent calls to the action fill nextToken in the request with the value of nextToken from the previous response to continue listing data.
-
maxResults
public final Integer maxResults()
You can use this parameter to indicate the maximum number of items you want in the response. The default value is 100. The maximum value is 500.
- Returns:
- You can use this parameter to indicate the maximum number of items you want in the response. The default value is 100. The maximum value is 500.
-
locale
public final Locale locale()
The locale into which you want to translate the exclusion's title, description, and recommendation.
If the service returns an enum value that is not available in the current SDK version,
localewill returnLocale.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlocaleAsString().- Returns:
- The locale into which you want to translate the exclusion's title, description, and recommendation.
- See Also:
Locale
-
localeAsString
public final String localeAsString()
The locale into which you want to translate the exclusion's title, description, and recommendation.
If the service returns an enum value that is not available in the current SDK version,
localewill returnLocale.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlocaleAsString().- Returns:
- The locale into which you want to translate the exclusion's title, description, and recommendation.
- See Also:
Locale
-
toBuilder
public GetExclusionsPreviewRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetExclusionsPreviewRequest.Builder,GetExclusionsPreviewRequest>- Specified by:
toBuilderin classInspectorRequest
-
builder
public static GetExclusionsPreviewRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetExclusionsPreviewRequest.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
-
-