@Generated(value="software.amazon.awssdk:codegen") public final class ProjectCache extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProjectCache.Builder,ProjectCache>
Information about the cache for the build project.
Modifier and Type | Class and Description |
---|---|
static interface |
ProjectCache.Builder |
Modifier and Type | Method and Description |
---|---|
static ProjectCache.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
location()
Information about the cache location:
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ProjectCache.Builder> |
serializableBuilderClass() |
ProjectCache.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
CacheType |
type()
The type of cache used by the build project.
|
String |
typeAsString()
The type of cache used by the build project.
|
copy
public CacheType type()
The type of cache used by the build project. Valid values include:
NO_CACHE
: The build project does not use any cache.
S3
: The build project reads and writes from and to S3.
If the service returns an enum value that is not available in the current SDK version, type
will return
CacheType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
NO_CACHE
: The build project does not use any cache.
S3
: The build project reads and writes from and to S3.
CacheType
public String typeAsString()
The type of cache used by the build project. Valid values include:
NO_CACHE
: The build project does not use any cache.
S3
: The build project reads and writes from and to S3.
If the service returns an enum value that is not available in the current SDK version, type
will return
CacheType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
NO_CACHE
: The build project does not use any cache.
S3
: The build project reads and writes from and to S3.
CacheType
public String location()
Information about the cache location:
NO_CACHE
: This value is ignored.
S3
: This is the S3 bucket name/prefix.
NO_CACHE
: This value is ignored.
S3
: This is the S3 bucket name/prefix.
public ProjectCache.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ProjectCache.Builder,ProjectCache>
public static ProjectCache.Builder builder()
public static Class<? extends ProjectCache.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.