Class Scope
- java.lang.Object
-
- software.amazon.awssdk.services.inspector.model.Scope
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Scope.Builder,Scope>
@Generated("software.amazon.awssdk:codegen") public final class Scope extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Scope.Builder,Scope>
This data type contains key-value pairs that identify various Amazon resources.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceScope.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Scope.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ScopeTypekey()The type of the scope.StringkeyAsString()The type of the scope.List<SdkField<?>>sdkFields()static Class<? extends Scope.Builder>serializableBuilderClass()Scope.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringvalue()The resource identifier for the specified scope type.-
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
-
key
public final ScopeType key()
The type of the scope.
If the service returns an enum value that is not available in the current SDK version,
keywill returnScopeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyAsString().- Returns:
- The type of the scope.
- See Also:
ScopeType
-
keyAsString
public final String keyAsString()
The type of the scope.
If the service returns an enum value that is not available in the current SDK version,
keywill returnScopeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyAsString().- Returns:
- The type of the scope.
- See Also:
ScopeType
-
value
public final String value()
The resource identifier for the specified scope type.
- Returns:
- The resource identifier for the specified scope type.
-
toBuilder
public Scope.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Scope.Builder,Scope>
-
builder
public static Scope.Builder builder()
-
serializableBuilderClass
public static Class<? extends Scope.Builder> serializableBuilderClass()
-
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.
-
-