public class EnvironmentPlatform extends Object implements Serializable, Cloneable
A set of Docker images that are related by platform and are managed by AWS CodeBuild.
Constructor and Description |
---|
EnvironmentPlatform() |
Modifier and Type | Method and Description |
---|---|
EnvironmentPlatform |
clone() |
boolean |
equals(Object obj) |
List<EnvironmentLanguage> |
getLanguages()
The list of programming languages that are available for the specified platform.
|
String |
getPlatform()
The platform's name.
|
int |
hashCode() |
void |
setLanguages(Collection<EnvironmentLanguage> languages)
The list of programming languages that are available for the specified platform.
|
void |
setPlatform(PlatformType platform)
The platform's name.
|
void |
setPlatform(String platform)
The platform's name.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
EnvironmentPlatform |
withLanguages(Collection<EnvironmentLanguage> languages)
The list of programming languages that are available for the specified platform.
|
EnvironmentPlatform |
withLanguages(EnvironmentLanguage... languages)
The list of programming languages that are available for the specified platform.
|
EnvironmentPlatform |
withPlatform(PlatformType platform)
The platform's name.
|
EnvironmentPlatform |
withPlatform(String platform)
The platform's name.
|
public void setPlatform(String platform)
The platform's name.
platform
- The platform's name.PlatformType
public String getPlatform()
The platform's name.
PlatformType
public EnvironmentPlatform withPlatform(String platform)
The platform's name.
platform
- The platform's name.PlatformType
public void setPlatform(PlatformType platform)
The platform's name.
platform
- The platform's name.PlatformType
public EnvironmentPlatform withPlatform(PlatformType platform)
The platform's name.
platform
- The platform's name.PlatformType
public List<EnvironmentLanguage> getLanguages()
The list of programming languages that are available for the specified platform.
public void setLanguages(Collection<EnvironmentLanguage> languages)
The list of programming languages that are available for the specified platform.
languages
- The list of programming languages that are available for the specified platform.public EnvironmentPlatform withLanguages(EnvironmentLanguage... languages)
The list of programming languages that are available for the specified platform.
NOTE: This method appends the values to the existing list (if any). Use
setLanguages(java.util.Collection)
or withLanguages(java.util.Collection)
if you want to
override the existing values.
languages
- The list of programming languages that are available for the specified platform.public EnvironmentPlatform withLanguages(Collection<EnvironmentLanguage> languages)
The list of programming languages that are available for the specified platform.
languages
- The list of programming languages that are available for the specified platform.public String toString()
toString
in class Object
Object.toString()
public EnvironmentPlatform clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.