Class GetApplicationRevisionResult
- java.lang.Object
-
- com.amazonaws.services.codedeploy.model.GetApplicationRevisionResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class GetApplicationRevisionResult extends Object implements Serializable, Cloneable
Represents the output of a get application revision operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetApplicationRevisionResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetApplicationRevisionResultclone()booleanequals(Object obj)StringgetApplicationName()The name of the application that corresponds to the revision.RevisionLocationgetRevision()Additional information about the revision, including type and location.GenericRevisionInfogetRevisionInfo()General information about the revision.inthashCode()voidsetApplicationName(String applicationName)The name of the application that corresponds to the revision.voidsetRevision(RevisionLocation revision)Additional information about the revision, including type and location.voidsetRevisionInfo(GenericRevisionInfo revisionInfo)General information about the revision.StringtoString()Returns a string representation of this object; useful for testing and debugging.GetApplicationRevisionResultwithApplicationName(String applicationName)The name of the application that corresponds to the revision.GetApplicationRevisionResultwithRevision(RevisionLocation revision)Additional information about the revision, including type and location.GetApplicationRevisionResultwithRevisionInfo(GenericRevisionInfo revisionInfo)General information about the revision.
-
-
-
Method Detail
-
setApplicationName
public void setApplicationName(String applicationName)
The name of the application that corresponds to the revision.
- Parameters:
applicationName- The name of the application that corresponds to the revision.
-
getApplicationName
public String getApplicationName()
The name of the application that corresponds to the revision.
- Returns:
- The name of the application that corresponds to the revision.
-
withApplicationName
public GetApplicationRevisionResult withApplicationName(String applicationName)
The name of the application that corresponds to the revision.
- Parameters:
applicationName- The name of the application that corresponds to the revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRevision
public void setRevision(RevisionLocation revision)
Additional information about the revision, including type and location.
- Parameters:
revision- Additional information about the revision, including type and location.
-
getRevision
public RevisionLocation getRevision()
Additional information about the revision, including type and location.
- Returns:
- Additional information about the revision, including type and location.
-
withRevision
public GetApplicationRevisionResult withRevision(RevisionLocation revision)
Additional information about the revision, including type and location.
- Parameters:
revision- Additional information about the revision, including type and location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRevisionInfo
public void setRevisionInfo(GenericRevisionInfo revisionInfo)
General information about the revision.
- Parameters:
revisionInfo- General information about the revision.
-
getRevisionInfo
public GenericRevisionInfo getRevisionInfo()
General information about the revision.
- Returns:
- General information about the revision.
-
withRevisionInfo
public GetApplicationRevisionResult withRevisionInfo(GenericRevisionInfo revisionInfo)
General information about the revision.
- Parameters:
revisionInfo- General information about the revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetApplicationRevisionResult clone()
-
-