Class Project
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.Project
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Project.Builder,Project>
@Generated("software.amazon.awssdk:codegen") public final class Project extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Project.Builder,Project>
The properties of a project as returned by the Search API.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceProject.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Project.Builderbuilder()UserContextcreatedBy()Who created the project.InstantcreationTime()A timestamp specifying when the project was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<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.UserContextlastModifiedBy()Returns the value of the LastModifiedBy property for this object.InstantlastModifiedTime()A timestamp container for when the project was last modified.StringprojectArn()The Amazon Resource Name (ARN) of the project.StringprojectDescription()The description of the project.StringprojectId()The ID of the project.StringprojectName()The name of the project.ProjectStatusprojectStatus()The status of the project.StringprojectStatusAsString()The status of the project.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Project.Builder>serializableBuilderClass()ServiceCatalogProvisionedProductDetailsserviceCatalogProvisionedProductDetails()Returns the value of the ServiceCatalogProvisionedProductDetails property for this object.ServiceCatalogProvisioningDetailsserviceCatalogProvisioningDetails()Returns the value of the ServiceCatalogProvisioningDetails property for this object.List<Tag>tags()An array of key-value pairs.Project.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
projectArn
public final String projectArn()
The Amazon Resource Name (ARN) of the project.
- Returns:
- The Amazon Resource Name (ARN) of the project.
-
projectName
public final String projectName()
The name of the project.
- Returns:
- The name of the project.
-
projectId
public final String projectId()
The ID of the project.
- Returns:
- The ID of the project.
-
projectDescription
public final String projectDescription()
The description of the project.
- Returns:
- The description of the project.
-
serviceCatalogProvisioningDetails
public final ServiceCatalogProvisioningDetails serviceCatalogProvisioningDetails()
Returns the value of the ServiceCatalogProvisioningDetails property for this object.- Returns:
- The value of the ServiceCatalogProvisioningDetails property for this object.
-
serviceCatalogProvisionedProductDetails
public final ServiceCatalogProvisionedProductDetails serviceCatalogProvisionedProductDetails()
Returns the value of the ServiceCatalogProvisionedProductDetails property for this object.- Returns:
- The value of the ServiceCatalogProvisionedProductDetails property for this object.
-
projectStatus
public final ProjectStatus projectStatus()
The status of the project.
If the service returns an enum value that is not available in the current SDK version,
projectStatuswill returnProjectStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprojectStatusAsString().- Returns:
- The status of the project.
- See Also:
ProjectStatus
-
projectStatusAsString
public final String projectStatusAsString()
The status of the project.
If the service returns an enum value that is not available in the current SDK version,
projectStatuswill returnProjectStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprojectStatusAsString().- Returns:
- The status of the project.
- See Also:
ProjectStatus
-
createdBy
public final UserContext createdBy()
Who created the project.
- Returns:
- Who created the project.
-
creationTime
public final Instant creationTime()
A timestamp specifying when the project was created.
- Returns:
- A timestamp specifying when the project was created.
-
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()
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
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:
- An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
-
lastModifiedTime
public final Instant lastModifiedTime()
A timestamp container for when the project was last modified.
- Returns:
- A timestamp container for when the project was last modified.
-
lastModifiedBy
public final UserContext lastModifiedBy()
Returns the value of the LastModifiedBy property for this object.- Returns:
- The value of the LastModifiedBy property for this object.
-
toBuilder
public Project.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Project.Builder,Project>
-
builder
public static Project.Builder builder()
-
serializableBuilderClass
public static Class<? extends Project.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-