Class ViewSummary
- java.lang.Object
-
- software.amazon.awssdk.services.connect.model.ViewSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ViewSummary.Builder,ViewSummary>
@Generated("software.amazon.awssdk:codegen") public final class ViewSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ViewSummary.Builder,ViewSummary>
A summary of a view's metadata.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceViewSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the view.static ViewSummary.Builderbuilder()Stringdescription()The description of the view.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The identifier of the view.Stringname()The name of the view.List<SdkField<?>>sdkFields()static Class<? extends ViewSummary.Builder>serializableBuilderClass()ViewStatusstatus()Indicates the view status as eitherSAVEDorPUBLISHED.StringstatusAsString()Indicates the view status as eitherSAVEDorPUBLISHED.ViewSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.ViewTypetype()The type of the view.StringtypeAsString()The type of the view.-
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
-
id
public final String id()
The identifier of the view.
- Returns:
- The identifier of the view.
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the view.
- Returns:
- The Amazon Resource Name (ARN) of the view.
-
name
public final String name()
The name of the view.
- Returns:
- The name of the view.
-
type
public final ViewType type()
The type of the view.
If the service returns an enum value that is not available in the current SDK version,
typewill returnViewType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the view.
- See Also:
ViewType
-
typeAsString
public final String typeAsString()
The type of the view.
If the service returns an enum value that is not available in the current SDK version,
typewill returnViewType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the view.
- See Also:
ViewType
-
status
public final ViewStatus status()
Indicates the view status as either
SAVEDorPUBLISHED. ThePUBLISHEDstatus will initiate validation on the content.If the service returns an enum value that is not available in the current SDK version,
statuswill returnViewStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Indicates the view status as either
SAVEDorPUBLISHED. ThePUBLISHEDstatus will initiate validation on the content. - See Also:
ViewStatus
-
statusAsString
public final String statusAsString()
Indicates the view status as either
SAVEDorPUBLISHED. ThePUBLISHEDstatus will initiate validation on the content.If the service returns an enum value that is not available in the current SDK version,
statuswill returnViewStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Indicates the view status as either
SAVEDorPUBLISHED. ThePUBLISHEDstatus will initiate validation on the content. - See Also:
ViewStatus
-
description
public final String description()
The description of the view.
- Returns:
- The description of the view.
-
toBuilder
public ViewSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ViewSummary.Builder,ViewSummary>
-
builder
public static ViewSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends ViewSummary.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.
-
-