Class GetStyleDescriptorRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.geomaps.model.GeoMapsRequest
-
- software.amazon.awssdk.services.geomaps.model.GetStyleDescriptorRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetStyleDescriptorRequest.Builder,GetStyleDescriptorRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetStyleDescriptorRequest extends GeoMapsRequest implements ToCopyableBuilder<GetStyleDescriptorRequest.Builder,GetStyleDescriptorRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetStyleDescriptorRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetStyleDescriptorRequest.Builderbuilder()ColorSchemecolorScheme()Sets color tone for map such as dark and light for specific map styles.StringcolorSchemeAsString()Sets color tone for map such as dark and light for specific map styles.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringkey()Optional: The API key to be used for authorization.StringpoliticalView()Specifies the political view using ISO 3166-2 or ISO 3166-3 country code format.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetStyleDescriptorRequest.Builder>serializableBuilderClass()MapStylestyle()Style specifies the desired map style.StringstyleAsString()Style specifies the desired map style.GetStyleDescriptorRequest.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
-
style
public final MapStyle style()
Style specifies the desired map style.
If the service returns an enum value that is not available in the current SDK version,
stylewill returnMapStyle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstyleAsString().- Returns:
- Style specifies the desired map style.
- See Also:
MapStyle
-
styleAsString
public final String styleAsString()
Style specifies the desired map style.
If the service returns an enum value that is not available in the current SDK version,
stylewill returnMapStyle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstyleAsString().- Returns:
- Style specifies the desired map style.
- See Also:
MapStyle
-
colorScheme
public final ColorScheme colorScheme()
Sets color tone for map such as dark and light for specific map styles. It applies to only vector map styles such as Standard and Monochrome.
Example:
LightDefault value:
LightValid values for ColorScheme are case sensitive.
If the service returns an enum value that is not available in the current SDK version,
colorSchemewill returnColorScheme.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcolorSchemeAsString().- Returns:
- Sets color tone for map such as dark and light for specific map styles. It applies to only vector map
styles such as Standard and Monochrome.
Example:
LightDefault value:
LightValid values for ColorScheme are case sensitive.
- See Also:
ColorScheme
-
colorSchemeAsString
public final String colorSchemeAsString()
Sets color tone for map such as dark and light for specific map styles. It applies to only vector map styles such as Standard and Monochrome.
Example:
LightDefault value:
LightValid values for ColorScheme are case sensitive.
If the service returns an enum value that is not available in the current SDK version,
colorSchemewill returnColorScheme.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcolorSchemeAsString().- Returns:
- Sets color tone for map such as dark and light for specific map styles. It applies to only vector map
styles such as Standard and Monochrome.
Example:
LightDefault value:
LightValid values for ColorScheme are case sensitive.
- See Also:
ColorScheme
-
politicalView
public final String politicalView()
Specifies the political view using ISO 3166-2 or ISO 3166-3 country code format.
The following political views are currently supported:
-
ARG: Argentina's view on the Southern Patagonian Ice Field and Tierra Del Fuego, including the Falkland Islands, South Georgia, and South Sandwich Islands -
EGY: Egypt's view on Bir Tawil -
IND: India's view on Gilgit-Baltistan -
KEN: Kenya's view on the Ilemi Triangle -
MAR: Morocco's view on Western Sahara -
PAK: Pakistan's view on Jammu and Kashmir and the Junagadh Area -
RUS: Russia's view on Crimea -
SDN: Sudan's view on the Halaib Triangle -
SRB: Serbia's view on Kosovo, Vukovar, and Sarengrad Islands -
SUR: Suriname's view on the Courantyne Headwaters and Lawa Headwaters -
SYR: Syria's view on the Golan Heights -
TUR: Turkey's view on Cyprus and Northern Cyprus -
TZA: Tanzania's view on Lake Malawi -
URY: Uruguay's view on Rincon de Artigas -
VNM: Vietnam's view on the Paracel Islands and Spratly Islands
- Returns:
- Specifies the political view using ISO 3166-2 or ISO 3166-3 country code format.
The following political views are currently supported:
-
ARG: Argentina's view on the Southern Patagonian Ice Field and Tierra Del Fuego, including the Falkland Islands, South Georgia, and South Sandwich Islands -
EGY: Egypt's view on Bir Tawil -
IND: India's view on Gilgit-Baltistan -
KEN: Kenya's view on the Ilemi Triangle -
MAR: Morocco's view on Western Sahara -
PAK: Pakistan's view on Jammu and Kashmir and the Junagadh Area -
RUS: Russia's view on Crimea -
SDN: Sudan's view on the Halaib Triangle -
SRB: Serbia's view on Kosovo, Vukovar, and Sarengrad Islands -
SUR: Suriname's view on the Courantyne Headwaters and Lawa Headwaters -
SYR: Syria's view on the Golan Heights -
TUR: Turkey's view on Cyprus and Northern Cyprus -
TZA: Tanzania's view on Lake Malawi -
URY: Uruguay's view on Rincon de Artigas -
VNM: Vietnam's view on the Paracel Islands and Spratly Islands
-
-
-
key
public final String key()
Optional: The API key to be used for authorization. Either an API key or valid SigV4 signature must be provided when making a request.
- Returns:
- Optional: The API key to be used for authorization. Either an API key or valid SigV4 signature must be provided when making a request.
-
toBuilder
public GetStyleDescriptorRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetStyleDescriptorRequest.Builder,GetStyleDescriptorRequest>- Specified by:
toBuilderin classGeoMapsRequest
-
builder
public static GetStyleDescriptorRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetStyleDescriptorRequest.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-