Class CreateExplainabilityRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.forecast.model.ForecastRequest
-
- software.amazon.awssdk.services.forecast.model.CreateExplainabilityRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateExplainabilityRequest.Builder,CreateExplainabilityRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateExplainabilityRequest extends ForecastRequest implements ToCopyableBuilder<CreateExplainabilityRequest.Builder,CreateExplainabilityRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateExplainabilityRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateExplainabilityRequest.Builderbuilder()DataSourcedataSource()Returns the value of the DataSource property for this object.BooleanenableVisualization()Create an Explainability visualization that is viewable within the Amazon Web Services console.StringendDateTime()IfTimePointGranularityis set toSPECIFIC, define the last time point for the Explainability.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ExplainabilityConfigexplainabilityConfig()The configuration settings that define the granularity of time series and time points for the Explainability.StringexplainabilityName()A unique name for the Explainability.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasTags()For responses, this returns true if the service returned a value for the Tags property.StringresourceArn()The Amazon Resource Name (ARN) of the Predictor or Forecast used to create the Explainability.Schemaschema()Returns the value of the Schema property for this object.List<SdkField<?>>sdkFields()static Class<? extends CreateExplainabilityRequest.Builder>serializableBuilderClass()StringstartDateTime()IfTimePointGranularityis set toSPECIFIC, define the first point for the Explainability.List<Tag>tags()Optional metadata to help you categorize and organize your resources.CreateExplainabilityRequest.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
-
explainabilityName
public final String explainabilityName()
A unique name for the Explainability.
- Returns:
- A unique name for the Explainability.
-
resourceArn
public final String resourceArn()
The Amazon Resource Name (ARN) of the Predictor or Forecast used to create the Explainability.
- Returns:
- The Amazon Resource Name (ARN) of the Predictor or Forecast used to create the Explainability.
-
explainabilityConfig
public final ExplainabilityConfig explainabilityConfig()
The configuration settings that define the granularity of time series and time points for the Explainability.
- Returns:
- The configuration settings that define the granularity of time series and time points for the Explainability.
-
dataSource
public final DataSource dataSource()
Returns the value of the DataSource property for this object.- Returns:
- The value of the DataSource property for this object.
-
schema
public final Schema schema()
Returns the value of the Schema property for this object.- Returns:
- The value of the Schema property for this object.
-
enableVisualization
public final Boolean enableVisualization()
Create an Explainability visualization that is viewable within the Amazon Web Services console.
- Returns:
- Create an Explainability visualization that is viewable within the Amazon Web Services console.
-
startDateTime
public final String startDateTime()
If
TimePointGranularityis set toSPECIFIC, define the first point for the Explainability.Use the following timestamp format: yyyy-MM-ddTHH:mm:ss (example: 2015-01-01T20:00:00)
- Returns:
- If
TimePointGranularityis set toSPECIFIC, define the first point for the Explainability.Use the following timestamp format: yyyy-MM-ddTHH:mm:ss (example: 2015-01-01T20:00:00)
-
endDateTime
public final String endDateTime()
If
TimePointGranularityis set toSPECIFIC, define the last time point for the Explainability.Use the following timestamp format: yyyy-MM-ddTHH:mm:ss (example: 2015-01-01T20:00:00)
- Returns:
- If
TimePointGranularityis set toSPECIFIC, define the last time point for the Explainability.Use the following timestamp format: yyyy-MM-ddTHH:mm:ss (example: 2015-01-01T20:00:00)
-
hasTags
public final boolean hasTags()
For responses, this returns true if the service returned a value for the Tags 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.
-
tags
public final List<Tag> tags()
Optional metadata to help you categorize and organize your resources. Each tag consists of a key and an optional value, both of which you define. Tag keys and values are case sensitive.
The following restrictions apply to tags:
-
For each resource, each tag key must be unique and each tag key must have one value.
-
Maximum number of tags per resource: 50.
-
Maximum key length: 128 Unicode characters in UTF-8.
-
Maximum value length: 256 Unicode characters in UTF-8.
-
Accepted characters: all letters and numbers, spaces representable in UTF-8, and + - = . _ : / @. If your tagging schema is used across other services and resources, the character restrictions of those services also apply.
-
Key prefixes cannot include any upper or lowercase combination of
aws:orAWS:. Values can have this prefix. If a tag value hasawsas its prefix but the key does not, Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix ofawsdo not count against your tags per resource limit. You cannot edit or delete tag keys with this prefix.
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
hasTags()method.- Returns:
- Optional metadata to help you categorize and organize your resources. Each tag consists of a key and an
optional value, both of which you define. Tag keys and values are case sensitive.
The following restrictions apply to tags:
-
For each resource, each tag key must be unique and each tag key must have one value.
-
Maximum number of tags per resource: 50.
-
Maximum key length: 128 Unicode characters in UTF-8.
-
Maximum value length: 256 Unicode characters in UTF-8.
-
Accepted characters: all letters and numbers, spaces representable in UTF-8, and + - = . _ : / @. If your tagging schema is used across other services and resources, the character restrictions of those services also apply.
-
Key prefixes cannot include any upper or lowercase combination of
aws:orAWS:. Values can have this prefix. If a tag value hasawsas its prefix but the key does not, Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix ofawsdo not count against your tags per resource limit. You cannot edit or delete tag keys with this prefix.
-
-
-
toBuilder
public CreateExplainabilityRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateExplainabilityRequest.Builder,CreateExplainabilityRequest>- Specified by:
toBuilderin classForecastRequest
-
builder
public static CreateExplainabilityRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateExplainabilityRequest.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
-
-