@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProjectCache extends Object implements Serializable, Cloneable, StructuredPojo
Information about the cache for the build project.
| Constructor and Description | 
|---|
| ProjectCache() | 
| Modifier and Type | Method and Description | 
|---|---|
| ProjectCache | clone() | 
| boolean | equals(Object obj) | 
| String | getLocation()
 Information about the cache location, as follows: | 
| String | getType()
 The type of cache used by the build project. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setLocation(String location)
 Information about the cache location, as follows: | 
| void | setType(String type)
 The type of cache used by the build project. | 
| String | toString()Returns a string representation of this object; useful for testing and debugging. | 
| ProjectCache | withLocation(String location)
 Information about the cache location, as follows: | 
| ProjectCache | withType(CacheType type)
 The type of cache used by the build project. | 
| ProjectCache | withType(String type)
 The type of cache used by the build project. | 
public void setType(String type)
The type of cache used by the build project. Valid values include:
 NO_CACHE: The build project will not use any cache.
 
 S3: The build project will read and write from/to S3.
 
type - The type of cache used by the build project. Valid values include:
        
        NO_CACHE: The build project will not use any cache.
        
        S3: The build project will read and write from/to S3.
        
CacheTypepublic String getType()
The type of cache used by the build project. Valid values include:
 NO_CACHE: The build project will not use any cache.
 
 S3: The build project will read and write from/to S3.
 
         NO_CACHE: The build project will not use any cache.
         
         S3: The build project will read and write from/to S3.
         
CacheTypepublic ProjectCache withType(String type)
The type of cache used by the build project. Valid values include:
 NO_CACHE: The build project will not use any cache.
 
 S3: The build project will read and write from/to S3.
 
type - The type of cache used by the build project. Valid values include:
        
        NO_CACHE: The build project will not use any cache.
        
        S3: The build project will read and write from/to S3.
        
CacheTypepublic ProjectCache withType(CacheType type)
The type of cache used by the build project. Valid values include:
 NO_CACHE: The build project will not use any cache.
 
 S3: The build project will read and write from/to S3.
 
type - The type of cache used by the build project. Valid values include:
        
        NO_CACHE: The build project will not use any cache.
        
        S3: The build project will read and write from/to S3.
        
CacheTypepublic void setLocation(String location)
Information about the cache location, as follows:
 NO_CACHE: This value will be ignored.
 
 S3: This is the S3 bucket name/prefix.
 
location - Information about the cache location, as follows: 
        
        NO_CACHE: This value will be ignored.
        
        S3: This is the S3 bucket name/prefix.
        
public String getLocation()
Information about the cache location, as follows:
 NO_CACHE: This value will be ignored.
 
 S3: This is the S3 bucket name/prefix.
 
         NO_CACHE: This value will be ignored.
         
         S3: This is the S3 bucket name/prefix.
         
public ProjectCache withLocation(String location)
Information about the cache location, as follows:
 NO_CACHE: This value will be ignored.
 
 S3: This is the S3 bucket name/prefix.
 
location - Information about the cache location, as follows: 
        
        NO_CACHE: This value will be ignored.
        
        S3: This is the S3 bucket name/prefix.
        
public String toString()
toString in class ObjectObject.toString()public ProjectCache clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.