public class BlockerDeclaration extends Object implements Serializable, Cloneable
Represents information about a gate declaration.
Constructor and Description |
---|
BlockerDeclaration() |
Modifier and Type | Method and Description |
---|---|
BlockerDeclaration |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the gate declaration.
|
String |
getType()
The type of the gate declaration.
|
int |
hashCode() |
void |
setName(String name)
The name of the gate declaration.
|
void |
setType(BlockerType type)
The type of the gate declaration.
|
void |
setType(String type)
The type of the gate declaration.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BlockerDeclaration |
withName(String name)
The name of the gate declaration.
|
BlockerDeclaration |
withType(BlockerType type)
The type of the gate declaration.
|
BlockerDeclaration |
withType(String type)
The type of the gate declaration.
|
public void setName(String name)
The name of the gate declaration.
name
- The name of the gate declaration.public String getName()
The name of the gate declaration.
public BlockerDeclaration withName(String name)
The name of the gate declaration.
name
- The name of the gate declaration.public void setType(String type)
The type of the gate declaration.
type
- The type of the gate declaration.BlockerType
public String getType()
The type of the gate declaration.
BlockerType
public BlockerDeclaration withType(String type)
The type of the gate declaration.
type
- The type of the gate declaration.BlockerType
public void setType(BlockerType type)
The type of the gate declaration.
type
- The type of the gate declaration.BlockerType
public BlockerDeclaration withType(BlockerType type)
The type of the gate declaration.
type
- The type of the gate declaration.BlockerType
public String toString()
toString
in class Object
Object.toString()
public BlockerDeclaration clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.